Overview
Narrows an Aseprite document to one layer, optionally including its children.
The output remains an AsepriteFile; ase_frame_select converts it to an image
downstream. Use this to extract parts such as "body only" or "everything except
guides."
Usage tips
- The standard order is
aseprite_load → ase_layer_select → ase_frame_select. "Narrow the layers, then convert to an image" makes the intent clear. - Selection by name (
Name) is more resilient to layer-structure changes. Index selection can shift when layers are reordered. - Enable
include_childrento select an entire folder.
Related nodes
ase_frame_select— converts the narrowed document to an image; usually used togetheraseprite_load— supplies the documentaseprite_export— saves the narrowed document
Read this first
- This node does not return an image.
- Its output remains an
AsepriteFile. - Its role is to narrow an Aseprite document; the following
AseFrameSelectperforms the image conversion.
Most natural wiring
AsepriteLoad
-> AseLayerSelect
-> AseFrameSelect
-> Preview
Selecting the layers before extracting a frame makes the intent easier to follow.
When to use it
- To extract only the body of a character
- To remove UI or guide layers
- To keep all layers grouped under a folder
Example 1: Select by index
selection_mode = Indexlayer_index = 2include_children = true
This returns an AsepriteFile that:
- selects the third layer, and
- retains its child layers.
Example 2: Select by name
selection_mode = Namelayer_name = bodyinclude_children = false
This keeps:
- the first layer whose name matches
body, and - any ancestors required to preserve its hierarchy.
Notes
- Name selection uses the first match.
include_childrencontrols descendants only. Ancestors required to preserve the hierarchy are always retained, even when it is false, and are included inlayer_count.- A missing Index or Name returns a zero-layer document and shows a
layer_not_foundwarning in the Inspector. - If you need a single image, connect
AseFrameSelectafter this node.