Set keyframes
ae_set_keyframesCreates keyframes on an After Effects property in one call, letting you set values by time or frame with interpolation and easing.
Instructions
Create keyframes on a property in one call, with optional interpolation (linear/bezier/hold) and temporal easing. Place keys by time (seconds) or frame (whole frames). Example: path "Transform/Position", keyframes [{time:0,value:[0,540]},{frame:24,value:[960,540],easeIn:80}]. A key at a time that already has one replaces it; other existing keys stay unless clearExisting. Returns the property's keyframes. For one static value use ae_set_property; to edit existing keys ae_edit_keyframes, for exact tables across many properties ae_set_keyframe_table (both 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". | |
| layer | Yes | Layer: 1-based index (number) or exact layer name. | |
| easyEase | No | Apply easy ease (33%) to all new keyframes that don't specify easing. | |
| keyframes | Yes | Keyframes to set, each with time or frame and a value. | |
| clearExisting | No | Remove existing keyframes first. |