Animation tags
tagManage animation tags by creating, updating, listing, or deleting named frame ranges on a sprite, ensuring game engines can reference animations like 'idle', 'walk', or 'attack'.
Instructions
Manage animation tags — the named frame ranges a game engine imports as 'idle', 'walk', 'attack'. Ops: 'list', 'create', 'update', 'delete'. Tag every cycle before export; an untagged spritesheet is a pile of frames the engine cannot address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| to | No | Last frame, 1-based, inclusive. | |
| from | No | First frame, 1-based, inclusive. | |
| name | No | ||
| color | No | Tag colour in the timeline, #rrggbb. | |
| sprite | No | Which sprite: its id as '#7' (what every result reports back, and the only unambiguous form — two unsaved documents are both called 'Sprite'), its filename, or its display name. Omit to use the sprite Aseprite has focused. | |
| newName | No | ||
| repeats | No | Loop count; 0 means forever. | |
| direction | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | Yes | ||
| sprite | Yes |