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

    Interface TokenConstrainMovementPathOptions

    interface TokenConstrainMovementPathOptions {
        history?:
            | boolean
            | readonly DeepReadonly<TokenMeasuredMovementWaypoint>[];
        ignoreCost?: boolean;
        ignoreWalls?: boolean;
        measureOptions?: Omit<TokenMeasureMovementPathOptions, "preview">;
        preview?: boolean;
    }
    Index

    Properties

    history?: boolean | readonly DeepReadonly<TokenMeasuredMovementWaypoint>[]

    Consider movement history? If true, uses the current movement history. If waypoints are passed, use those as the history. Default: false.

    ignoreCost?: boolean

    Ignore cost? Default: false.

    ignoreWalls?: boolean

    Ignore walls and surfaces? Default: false.

    measureOptions?: Omit<TokenMeasureMovementPathOptions, "preview">

    The measurement options.

    preview?: boolean

    Constrain a preview path? Default: false.