Tile - YCustomControls - Has Default Key Action Enabled – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Has Default Key Action Enabled(Player, Action)

YlandsTile-853.png

static isDefaultKeyActionEnabled(player: YCharacter, action: YCharacterAction | YInputAction): boolean;

Parameters

player

action

Returns

boolean

Availability

Server

Description

Returns whether the player has the default key action enabled or not.