ae_set_expression
Set or clear an After Effects expression on a layer or effect property; returns expressionError if rejected and keeps the change to one undo step.
Instructions
Set an expression on a layer or effect property, or remove it with an empty string. Reports expressionError if AE rejects it. One undo step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name or numeric item id. Omit to use the active composition. | |
| layer | Yes | Layer name or 1-based index. | |
| property | Yes | Property path: 'Transform/Position', 'Opacity', 'Source Text', 'Effects/Gaussian Blur/Blurriness' (names, matchNames or 1-based indices, '/'-separated or as an array). | |
| expression | Yes |