Edit

InputInfo Class

Contains the input information for a client instance.

Properties

lastInputModeUsed

read-only lastInputModeUsed: InputMode;

The last input mode used by the player.

Type: InputMode

Notes:

touchOnlyAffectsHotbar

read-only touchOnlyAffectsHotbar: boolean;

Whether the player touch input only affects the touchbar or not.

Type: boolean

Notes:

Methods

getButtonState

getButtonState(button: InputButton): ButtonState

Parameters

Returns ButtonState

Notes:

getMovementVector

getMovementVector(): Vector2

Returns Vector2

Notes: