foundry_measure_distance
Calculate the distance between two points or tokens in a Foundry VTT scene. Use coordinates or token UUIDs to determine range for movement and combat encounters.
Instructions
Measure distance between two points or tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | Optional Foundry user ID or username for permission-scoped access. | |
| originX | No | ||
| originY | No | ||
| sceneId | No | ||
| targetX | No | ||
| targetY | No | ||
| clientId | No | Foundry client ID; defaults to FOUNDRY_CLIENT_ID. | |
| originName | No | ||
| originUuid | No | ||
| targetName | No | ||
| targetUuid | No |