Event data for when a player presses a button.

Properties

button: InputButton

The button this event is about.

newButtonState: ButtonState

The state that this button transferred to.

player: Player

The player that performed the input event.