ae_add_shape_layer
Creates a rectangle or ellipse shape layer in an After Effects composition, letting you set dimensions, fill color, opacity, stroke width, and position.
Instructions
Add a shape layer with a rectangle or ellipse to a composition
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Shape width in pixels | |
| fill_b | No | Fill blue (0–1) | |
| fill_g | No | Fill green (0–1) | |
| fill_r | No | Fill red (0–1) | |
| height | No | Shape height in pixels | |
| comp_name | Yes | Composition name | |
| layer_name | Yes | Name for the new shape layer | |
| position_x | No | X position offset from center | |
| position_y | No | Y position offset from center | |
| shape_type | No | rectangle | |
| fill_opacity | No | Fill opacity (0–100) | |
| stroke_width | No | Stroke width (0 = no stroke) |