precompose-layers
Precompose layers into a new nested composition, replacing them with a single layer in the source comp.
Instructions
Bundle one or more layers into a new nested composition (Layer > Precompose), replacing them in the source comp with a single layer referencing the new precomp.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new precomposition. | |
| compName | No | Source composition name (or active comp if omitted). | |
| compIndex | No | 1-based comp index, if compName is omitted. | |
| layerIndices | Yes | 1-based indices of the layers to precompose, within the source composition. | |
| moveAllAttributes | No | Move the layer's effects/masks/blend mode into the new precomp instead of leaving them on the wrapping layer. Only valid when layerIndices has exactly one entry. |