aseprite_frames_from_grids
Create multi-frame animations by providing one character grid per frame; each grid is written into its own frame on a single layer.
Instructions
Draw a whole animation in one call: pass one character grid per frame and the tool writes each grid into its own frame. This is the fastest, most token-efficient way to produce a multi-frame animation. Grids are applied on a single layer; use x/y to offset them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Left edge for every grid (default 0). | |
| y | No | Top edge for every grid (default 0). | |
| key | No | Character-to-colour map. "." means transparent. | |
| grids | Yes | One grid (array of character rows) per frame. | |
| layer | No | Target layer (all frames are drawn on it). | |
| 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. |