Set property value
ae_set_propertySet a value on any After Effects layer property, such as transforms, effect parameters, shape attributes, or text; optionally place a keyframe at a given time.
Instructions
Set the value of any property (transform, effect parameter, shape attribute, text...). If time is given (or the property already has keyframes) a keyframe is set at that time. Examples: path "Transform/Opacity" value 50; "Transform/Position" [960,540]; "Transform/Scale" [50,50]; "Effects/Fill/Color" "#ff0000". Returns the property's new state; fails if the path is a group or not found. For several keyframes with easing use ae_set_keyframes, for expressions ae_set_expression, for many parameters of one effect ae_set_effect_params (via ae_call).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition: item id (number) or exact name. Omit (or "active") for the active/open composition. | |
| path | Yes | Property path from the layer, "/"-separated display names or match names, e.g. "Transform/Position", "Effects/Gaussian Blur/Blurriness", "ADBE Transform Group/ADBE Opacity", "Contents/Rectangle 1/Fill 1/Color". | |
| time | No | Seconds (comp time): set a keyframe here, replacing one at that time. Omit for a static value (on an animated property: a keyframe at the current time). | |
| layer | Yes | Layer: 1-based index (number) or exact layer name. | |
| value | Yes | Value: number, array ([x,y] / [x,y,z] / color), string for text, or object for text style / shape path. |