interface TokenRegionMovementSegment {
    action: string;
    from: TokenPosition;
    snapped: boolean;
    terrain: null | DataModel<object, DataModelConstructionContext>;
    to: TokenPosition;
    type: RegionMovementSegmentType;
}

Properties

action: string

The movement action between the waypoints.

The waypoint that this segment starts from.

snapped: boolean

Is the destination snapped to the grid?

terrain: null | DataModel<object, DataModelConstructionContext>

The terrain data of this segment.

The waypoint that this segment goes to.

The type of this segment (see CONST.REGION_MOVEMENT_SEGMENTS).