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

    Interface GridSnappingBehavior

    A snapping behavior is defined by the snapping mode at the given resolution of the grid.

    interface GridSnappingBehavior {
        mode: number;
        resolution?: number;
    }
    Index

    Properties

    Properties

    mode: number

    The snapping mode (a union of CONST.GRID_SNAPPING_MODES).

    resolution?: number

    The resolution (a positive integer). Default: 1.