@minecraft/server
    Preparing search index...

    Class PlayerButtonInputAfterEventBeta

    Event data for when a player presses a button.

    Index

    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.