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

    Class PlayerDimensionChangeAfterEvent

    Contains information related to changes to a player's dimension having been changed.

    export class PlayerDimensionChangeAfterEvent {
    private constructor();
    readonly fromDimension: Dimension;
    readonly fromLocation: Vector3;
    readonly player: Player;
    readonly toDimension: Dimension;
    readonly toLocation: Vector3;
    }
    Index

    Constructors

    Properties

    fromDimension: Dimension

    The dimension the player is changing from.

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

    fromLocation: Vector3

    The location the player was at before changing dimensions.

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

    player: Player

    Handle to the player that is changing dimensions.

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

    toDimension: Dimension

    The dimension that the player is changing to.

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

    toLocation: Vector3

    The location the player will spawn to after changing dimensions.

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