Tile - YCustomControls - Set Default Key Action Enabled – Ylands
Jump to navigation
Jump to search
Set Default Key Action Enabled(Player, Action, Enabled)
static enableDefaultKeyAction(player: YCharacter, action: YCharacterAction | YInputAction, active: boolean): void;
Parameters
player
action
active
Availability
Description
Allows to enable/disable the default key action for the target player.
Set Default Key Action Enabled(Custom controls, Player, Action, Enabled)
enableDefaultKeyAction(player: YCharacter, action: YCharacterAction | YInputAction, active: boolean): void;
Parameters
player
action
active
Availability
Description
Allows to enable/disable the default key action of the target Custom controls for the target player.