save_sprite
Save an Aseprite sprite to disk, either overwriting or saving a copy without changing the sprite's current file name. The extension sets the format; single-image formats write one file per frame.
Instructions
Saves a sprite (Save / Save As), or with copy=true saves a copy without changing the sprite's file name. The extension picks the format. Single-image formats get one file per frame (name1.png, name2.png...); the result lists the files written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copy | No | ||
| file | No | ||
| sprite | No | File path, open tab title, or sprite id. Defaults to the active sprite (live). Batch mode needs a file path. | |
| backend | No | auto (default): live Aseprite if connected, else headless batch |