Script API - v1.26.10
    Preparing search index...

    Class PlayerButtonInputAfterEvent

    Event data for when a player presses a button.

    export class PlayerButtonInputAfterEvent {
    private constructor();
    readonly button: InputButton;
    readonly newButtonState: ButtonState;
    readonly player: Player;
    }
    Index

    Constructors

    Properties

    Constructors

    Properties

    button: InputButton

    The button this event is about.

    This property can't be read in early-execution mode.

    newButtonState: ButtonState

    The state that this button transferred to.

    This property can't be read in early-execution mode.

    player: Player

    The player that performed the input event.

    This property can't be read in early-execution mode.