delete_cel
Deletes cels from a layer in specified frames, ranges, or tags to remove unwanted animation cells.
Instructions
Deletes the cel(s) of a layer in the given frames.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last frame of a range | |
| tag | No | Use the frames of this tag | |
| from | No | First frame of a range | |
| save | No | Batch mode: write changes back to the sprite file (default true) | |
| frame | No | 1-based frame number. Defaults to the active frame (or 1). | |
| layer | No | Layer name, 'Group/Child' path, or 1-based index from get_sprite_info. Defaults to the active layer. | |
| frames | No | 'all' or a list of frame numbers | |
| 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 |