Tile - YCustomControls - Is Default Key Action Enabled – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Is Default Key Action Enabled(Custom controls, Player, Action)

YlandsTile-862.png

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

Parameters

player

action

Returns

boolean

Availability

Server

Description

Returns whether the player has the default key action of the target custom controls enabled or not.