canvas-pan
Pan and/or zoom the canvas (canvas.animatePan) for everyone's view, in scene pixels, not grid squares. All fields optional: omit x/y to keep the centre, scale to keep the zoom. canvas-ping draws attention to a spot instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Scene-pixel X to centre on. Omit to keep current. | |
| y | No | Scene-pixel Y to centre on. Omit to keep current. | |
| scale | No | Zoom level (1 = 100%). Omit to keep current. | |
| duration | No | Animation duration in ms. |