The PlayerButtonInputAfterEvent class in @minecraft/server.
Class in @minecraft/server
import { PlayerButtonInputAfterEvent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”button
Section titled “button”read-only
readonly button: InputButton;Types
newButtonState
Section titled “newButtonState”read-only
readonly newButtonState: ButtonState;Types
player
Section titled “player”read-only
readonly player: Player;Types
Used by
Section titled “Used by”PlayerButtonInputAfterEventSignal.subscribe, PlayerButtonInputAfterEventSignal.unsubscribe