editor_preview_interface
Preview how a save's interface appears on computer, phone, console, and gamepad canvases and return a rendered picture of each to check control placement before finalizing UI.
Instructions
Show what the interface of a save looks like on other devices, in the editor itself, and return a picture of each canvas: a computer (1600 x 900), a phone (1280 x 720, also 19.5:9 and 4:3), a console (1920 x 1080, also 21:9), a phone with a gamepad. Most players are on phones, and the same numbers put a control elsewhere on each canvas (what stands 700 to the side on a computer is off a phone's screen): this is the look to take before saying an interface is done. It is the editor's own interface manager that draws the pictures, with the platform's own controls of that device around yours (the touch buttons of a phone, the key hints of a computer), so a control that lies under one of them shows. With mapPath the save is imported and opened first (or, when it is the one the last playtest left open, used as it is); without, the save that is open is shown. Client controls are drawn as the save has them, before any script ran: what a script draws at run time is not there. Takes over mouse and keyboard for about 30 seconds (90 with an import). Returns a runId; playtest_status gives the pictures.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapPath | No | ||
| canvases | No |