Event data for when a player presses a button.
export class PlayerButtonInputAfterEvent { private constructor(); readonly button: InputButton; readonly newButtonState: ButtonState; readonly player: Player;} Copy
export class PlayerButtonInputAfterEvent { private constructor(); readonly button: InputButton; readonly newButtonState: ButtonState; readonly player: Player;}
Private
Readonly
The button this event is about.
This property can't be read in early-execution mode.
The state that this button transferred to.
The player that performed the input event.
Event data for when a player presses a button.
Source