ae_create_shape
Add a shape layer (rounded rectangle or ellipse) with solid fill for UI buttons or background frames. Position the shape geometry around a center point.
Instructions
Add a shape layer (rounded rectangle or ellipse) with a solid fill — e.g. a UI button or a background frame. Position is the layer's transform position; the shape geometry is drawn around it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name. Defaults to the active comp. | |
| name | No | Shape | |
| kind | No | rect | |
| size | No | [width, height] of the shape geometry. | |
| position | No | Layer position. Defaults to comp center. | |
| color | No | Fill colour as [r, g, b] in 0–1. | |
| roundness | No | Corner radius (rect only). |