Measure a distance
measure-distanceCalculate distances between tokens or points in a Foundry VTT scene, optionally via waypoints, in grid spaces and units. Follows diagonal rules; works without a canvas.
Instructions
Measure between two tokens or points, optionally via waypoints, in the scene's units and grid spaces, following the grid and the diagonal rule of the world. Token centers count. Works without a drawn canvas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End: { tokenId } (id or name of a token), or { x, y } in pixels | |
| via | No | Waypoints in between: { x, y } | |
| from | Yes | Start: { tokenId } (id or name of a token), or { x, y } in pixels | |
| sceneIdentifier | No | Scene id or name; default the scene that is active for everyone |