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

    Interface TokenPosition

    interface TokenPosition {
        depth: number;
        elevation: number;
        height: number;
        level: string;
        shape: TokenShapeType;
        width: number;
        x: number;
        y: number;
    }
    Index

    Properties

    depth: number

    The depth in grid spaces (nonnegative).

    elevation: number

    The elevation in grid units.

    height: number

    The height in grid spaces (positive).

    level: string

    The level ID.

    The shape type (see CONST.TOKEN_SHAPES).

    width: number

    The width in grid spaces (positive).

    x: number

    The top-left x-coordinate in pixels (integer).

    y: number

    The top-left y-coordinate in pixels (integer).