aseprite_duplicate_frame
Copies a frame with all its layers to the next slot, letting you build animations by editing only changed parts instead of redrawing every frame.
Instructions
Copy a frame (all layers) to the next slot. The fastest way to build an animation: duplicate, then move or redraw only the parts that change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Zero-based frame index (omit for the first frame). | |
| document | No | Document to act on: a short name inside the art folder ("hero"), a relative path, or an absolute .aseprite path. Omit to use the active document. | |
| durationMs | No | Duration for the copy in ms. |