set_layer_parent
Establish or remove parent-child relationships between layers in After Effects compositions to organize layer hierarchies and control transformations.
Instructions
Set parent-child relationship between layers
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compId | Yes | ID of the composition | |
| childLayerIndex | Yes | Index of the child layer | |
| parentLayerIndex | No | Index of the parent layer (null to remove parent) |