delete-layer
Delete a layer from a composition by specifying its index or name.
Instructions
Delete a layer from a composition. Target the layer by layerIndex or layerName.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compName | No | Composition name (or active comp if omitted). | |
| compIndex | No | 1-based comp index, if compName is omitted. | |
| layerName | No | Layer name to delete (alternative to layerIndex). | |
| layerIndex | No | 1-based layer index to delete. |