aseprite_create_sprite
Create and activate a pixel-art document in Aseprite to give other tools a canvas; configure size, frames, layers, color mode, and palette.
Instructions
Create a new pixel-art document and make it active. Every other tool works on this file. Coordinates are 0-based with the origin at the TOP-LEFT, x growing right and y growing down. Choose a small canvas: 16-32 px for characters and items, 64-128 px for scenes. Set frames up front when planning an animation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Canvas width in pixels (default 32). | |
| frames | No | Create this many frames immediately (default 1). | |
| height | No | Canvas height in pixels (default 32). | |
| palette | No | Palette colours for indexed mode. | |
| document | No | Name for the new document, e.g. "hero". Defaults to "sprite". | |
| colorMode | No | rgb (default, 16M colours), indexed (fixed palette, classic console look), grayscale. | |
| layerName | No | Name of the first layer (default "Layer 1"). | |
| overwrite | No | Overwrite the document if it already exists. | |
| background | No | Fill the canvas with this colour. Default is transparent. | |
| paletteSize | No | Palette size for indexed mode when `palette` is omitted. |