Measure a distance
measure-distanceMeasure distance between two tokens or points with optional waypoints. Returns scene units and grid spaces, following grid and diagonal rules; token centers count, no canvas needed.
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 |