Pan and zoom the view
pan-cameraCenter the Gamemaster's camera on a token or coordinates, adjust zoom, and optionally sync all players' views to that position.
Instructions
Move the Gamemaster's view to a token or a point and set the zoom; with forEveryone, also pull every player viewing the scene to it (needs "Allow Write Operations"). Needs the drawn canvas in the Gamemaster's browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Center x in pixels | |
| y | No | Center y in pixels | |
| scale | No | Zoom, e.g. 1 for 100 percent | |
| tokenId | No | Center on this token: id or name | |
| duration | No | Animation in milliseconds, 0 to 10000; default 250 | |
| forEveryone | No | Pull the view of every user on this scene too | |
| sceneIdentifier | No | Optional check: the scene the Gamemaster views must be this one (id or name), else nothing happens |