add_layer
Add a new empty layer to an Aseprite sprite, specifying name, opacity, blend mode, and visibility. Optionally nest it within an existing group.
Instructions
Add a new (empty) normal layer on top of the stack.
Args:
name: Layer name.
group: Optional name of an existing group layer to nest the new layer in.
opacity: 0-255.
blend_mode: normal, multiply, screen, overlay, darken, lighten,
color_dodge, color_burn, hard_light, soft_light, difference,
exclusion, hue, saturation, color, luminosity, addition, subtract, divide.
visible: Initial visibility.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| group | No | ||
| opacity | No | ||
| visible | No | ||
| filename | Yes | ||
| blend_mode | No | normal |