JSM Developer API Documentation
    Preparing search index...

    Interface PlayerMoveEvent

    This interface is provided to the ModDefinition.eventOnPlayerMove function when the player moves.

    The event has no access to the new position of the player.

    interface PlayerMoveEvent {
        fromX: number;
        fromY: number;
        fromZ: number;
    }
    Index

    Properties

    Properties

    fromX: number

    The original X position before the movement.

    fromY: number

    The original Y position before the movement.

    fromZ: number

    The original Z position before the movement.