Update token
update-tokenAdjust a Foundry VTT token's map properties: position, size, rotation, hidden state, disposition, name, elevation, and rotation lock, with read-back validation and warnings on stored differences.
Instructions
Change properties of a token on the map (not of its actor): position, size in grid spaces, rotation, hidden, disposition (-2 secret, -1 hostile, 0 neutral, 1 friendly), displayed name, elevation, rotation lock. Other fields are refused with their names. Every change is read back; values Foundry stored differently come as warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenId | Yes | Id of the token on that scene, as get-current-scene lists it. Not a name, not an actor id. | |
| updates | Yes | The properties to change | |
| sceneIdentifier | No | Scene of the token, by id or name. Without it the scene that is active for everyone is used; every answer names the scene. |