Move token
move-tokenReposition a token on a Foundry VTT scene by specifying pixel coordinates. Optionally animate the movement; target the active scene or provide a scene identifier.
Instructions
Put a token at a new position on the active scene (or the scene in sceneIdentifier). x and y are scene pixels of the top left corner of the token; grid, walls and scene bounds are not checked. With animate the token glides there, otherwise it jumps. The answer gives the position Foundry stored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X in scene pixels | |
| y | Yes | Y in scene pixels | |
| animate | No | Animate the movement (default false) | |
| tokenId | Yes | Id of the token on that scene, as get-current-scene lists it. Not a name, not an actor id. | |
| 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. |