editor.zooms.show
Shows and plays the zoom track, or hides it.
JSON-RPC 2.0project.write
Parameters
- onbooleanrequiredShown or not.
- canvasstringA canvas's id or name, shown first. Default: the canvas shown.
Result
- shownbooleanAs set.
Errors
Invalid params (-32602) without on. A state error (-32005) when no Editor project is open, or the open one is read-only because a newer Lightair made it.
Events
Subscribers to events get editor.changed.
From an AI agent
The MCP server's editor_zooms (action: show) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "editor.zooms.show", "params": {}}lightair call editor.zooms.showconst result = lightair.call("editor.zooms.show", {});