token-create
Place a token on the scene for an actor. Coordinates are pixels (top-left corner of the grid cell): pixel = gridCoord * gridSize; scene-get gives gridSize, actor-list or actor-filter the actorId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X in pixels | |
| y | Yes | Y in pixels | |
| scale | No | Token scale multiplier (default 1) | |
| hidden | No | Hide token from players | |
| actorId | Yes | Actor ID (from actor-list or actor-filter) | |
| sceneId | No | Scene ID; default the active scene | |
| rotation | No | Rotation in degrees (0-360) | |
| actorLink | No | true = shares the actor, false = independent copy (module 8.14+) | |
| elevation | No | Elevation in game units |