ae_set_layer_3d
Toggle a layer's 3D switch in After Effects to enable camera movement effects on 2D layers, for a single layer or all layers in a comp.
Instructions
Toggle a layer's 3D switch (or every layer in the comp). Required before a camera move affects 2D layers.
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": "ae_set_layer_3d"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | ||
| layer | No | A single layer. Ignored if allLayers is true. | |
| allLayers | No | Apply to every layer in the comp. | |
| enabled | No |