Set parent
set_parentParents After Effects layers to a target layer or removes parenting with null, preserving visual placement by default so layers stay in position.
Instructions
Parent layers to another layer (or remove the parent with parent=null). keepTransform=true (default) keeps the layers visually in place (AE adjusts their transform values); false keeps the raw values so the layer may jump.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_parent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| layers | No | Layers: array of layer refs, or 'selected' (default) or 'all'. | |
| parent | No | Parent layer, or null/omitted to unparent. | |
| keepTransform | No | Keep visual position (default true). |