duplicate_layer
Duplicate a layer with all its cels across every frame, inheriting opacity and blend mode. Place the copy directly above the source or inside a specified group.
Instructions
Duplicate a layer with all its cels across every frame.
The copy inherits the source's opacity and blend mode. By default it is
placed directly above the source layer; pass group to place it inside a
group instead.
Args: filename: Aseprite file to modify layer_name: Layer to duplicate, by name or "group/subgroup/layer" path new_name: Name for the copy (default: " copy") group: Optional group to place the copy inside, by name or "group/subgroup" path (default: directly above the source)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| layer_name | Yes | ||
| new_name | No | ||
| group | No |