Class PlayerUseMovingPlatformEvent<RoomType>

Emitted when a player uses a moving platform. Emitted before the player has actually used it, see MovingPlatformPlayerUpdateEvent to listen for when a player has actually used a moving platform and is moving.

Type Parameters

Hierarchy

  • CancelableEvent
    • PlayerUseMovingPlatformEvent

Implements

Properties

Methods

Constructors

Properties

eventName: "player.usemovingplatform"
canceled: boolean
eventName: "player.usemovingplatform"
message: undefined | UsePlatformMessage

The message that this event originated from.

player: PlayerData<RoomType>

The player that this event is for.

room: RoomType

The room or client that the event came from.

Methods

  • Returns void

Constructors

Generated using TypeDoc