ae_create_layer
Create a layer in an After Effects composition with types like text, solid, shape, null, camera, light, or adjustment. Configure position, color, scale, opacity, and more for precise control.
Instructions
Create a layer in a composition. type: text|solid|shape|null|camera|light|adjustment. For text pass text/fontSize/fillColor. Colors are RGB 0–1. Position is [x,y] or [x,y,z].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | ||
| name | No | ||
| text | No | Source text for type=text | |
| type | Yes | ||
| color | No | Solid color RGB 0-1 | |
| scale | No | ||
| shape | No | ||
| sizeX | No | ||
| sizeY | No | ||
| width | No | ||
| height | No | ||
| opacity | No | ||
| fontSize | No | ||
| position | No | ||
| rotation | No | ||
| comp_name | No | Composition name. Prefer this over index. | |
| fillColor | No | ||
| comp_index | No | 1-based project item index if name is ambiguous. |