aseprite_add_layer
Add a named layer to an Aseprite document, optionally positioning it above or below another layer, to organize pixel art elements like outlines, colors, and shading.
Instructions
Add a layer. Good practice for pixel art: separate layers for outline, base colour blocks, shading and highlights, so you can revise one without touching the others.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Layer name, e.g. "outline" or "shading". | |
| above | No | Insert this layer directly above the named layer. | |
| below | No | Insert this layer directly below the named layer. | |
| opacity | No | Layer opacity 0-255 (default 255). | |
| 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. | |
| blendMode | No | Blend mode name, e.g. normal, multiply, screen, overlay, add. |