Manage frames
aseprite_frameCreate, select, delete, or set duration for animation frames in Aseprite. New frames copy the active frame by default and become active, returning sprite status.
Instructions
Animation: create a frame after the given/active one (new, copies it by default, becomes active), activate (select), delete, or set its duration (in seconds). To draw several frames at once use aseprite_animation. Returns the sprite status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| copy | No | new: copy that frame instead of inserting an empty one | |
| frame | No | Frame number (default: active frame); new inserts after it | |
| action | Yes | ||
| duration | No | Seconds, e.g. 0.1 |