setLayerKeyframe
Add a keyframe to an After Effects layer property at a specific time and value, with optional interpolation such as linear, ease, hold, or easeIn/easeOut.
Instructions
Add a keyframe to a layer property at a specific timestamp with optional interpolation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Time in seconds where the keyframe should be set | |
| value | Yes | Keyframe value (number or array of numbers) | |
| compName | No | Composition name (defaults to active composition) | |
| layerName | No | Layer name | |
| layerIndex | No | Layer index (1-based) | |
| propertyName | Yes | Property name (e.g. "Position", "Scale", "Rotation", "Opacity", or effect property) | |
| keyframeInterpolation | No | Keyframe easing type |