setLayerKeyframe
Creates a keyframe on a specified After Effects layer property at a chosen time, with optional value and easing.
Instructions
Set a keyframe for a specific layer property at a given time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ease | No | Optional easing to apply to the newly created keyframe (e.g. 'snappy', 'easyEase', or custom influence) | |
| value | No | The value for the keyframe (e.g., [x,y] for Position, [w,h] for Scale, angle for Rotation, percentage for Opacity) | |
| compIndex | Yes | 1-based index of the target composition in the project panel. | |
| layerIndex | Yes | 1-based index of the target layer within the composition. | |
| propertyName | Yes | Name of the property to keyframe (e.g., 'Position', 'Scale', 'Rotation', 'Opacity'). | |
| timeInSeconds | Yes | The time (in seconds) for the keyframe. |