add_frames
Insert one or more frames into a sprite animation at a chosen position, copying existing cels or creating blank frames.
Instructions
Adds frames. By default copies the previous frame's cels; empty=true adds blank frames.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Frame number for the first new frame (default: end) | |
| save | No | Batch mode: write changes back to the sprite file (default true) | |
| count | No | ||
| empty | 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 | |
| copyFrom | No | Frame to copy (default: the frame before 'at') | |
| durationMs | No |