Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Interface TokenMovementSegmentData

    interface TokenMovementSegmentData {
        action: string;
        actionConfig: TokenMovementActionConfig;
        depth: number;
        height: number;
        level: string;
        shape: TokenShapeType;
        teleport: boolean;
        terrain: DataModel<object, DataModelConstructionContext> | null;
        width: number;
    }
    Index

    Properties

    action: string

    The movement action of this segment.

    The config of the movement action.

    depth: number

    The depth in grid spaces (nonnegative).

    height: number

    The height in grid spaces (positive).

    level: string

    The level ID.

    The shape type (see CONST.TOKEN_SHAPES).

    teleport: boolean

    Teleported?

    terrain: DataModel<object, DataModelConstructionContext> | null

    The terrain data of this segment.

    width: number

    The width in grid spaces (positive).