Tokens in range
find-tokens-in-rangeFind tokens within a specified range of a token or coordinates, ordered by distance nearest first. Optionally exclude those blocked by walls for line-of-sight checks.
Instructions
List the tokens within a distance (scene units) of a token or point, nearest first, optionally only those not hidden behind walls for sight. Works without a drawn canvas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Center: { tokenId } (id or name of a token), or { x, y } in pixels | |
| distance | Yes | Range in the units of the scene, e.g. 30 for 30 ft | |
| includeHidden | No | Include hidden tokens; default true | |
| sceneIdentifier | No | Scene id or name; default the scene that is active for everyone | |
| requireLineOfSight | No | Leave out tokens behind walls that block sight |