Cels
celManage a single layer's image on a frame: create, clear, move, copy, link, or set opacity. Shift a limb between frames without redrawing; link images across frames to keep static parts in sync.
Instructions
Manage cels — one layer's image on one frame. Ops: 'list', 'create', 'clear', 'delete', 'move', 'copy', 'link', 'unlink', 'set' (position/opacity). 'move' is how you shift a whole limb between frames without redrawing it; 'link' shares one image across frames so a static part of a cycle stays in sync.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Cel origin, for 'set' and 'move'. | |
| y | No | ||
| dx | No | Relative move. | |
| dy | No | ||
| op | Yes | ||
| frame | No | 1-based frame number. Omit to use the active frame. | |
| layer | No | Layer name. Omit to use the active layer. | |
| frames | No | For 'link' across a range. | |
| sprite | No | Sprite filename or id. Omit to use the sprite Aseprite has focused. | |
| opacity | No | ||
| toFrame | No | ||
| toLayer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cels | No | ||
| sprite | Yes | ||
| applied | No |