aseprite_set_loop
Set a custom loop range for sprite playback or export by specifying start and end frames, ensuring animations repeat only within that segment.
Instructions
Restrict playback/export looping to a frame range of the whole sprite.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Zero-based frame index (omit for the first frame). | |
| from | No | 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. |