setLayerKeyframe
Set keyframes for specific layer properties in After Effects compositions at precise times using AI-driven automation. Define composition, layer, property, time, and value for accurate animation control.
Instructions
Set a keyframe for a specific layer property at a given time.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
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. | |
value | No | The value for the keyframe (e.g., [x,y] for Position, [w,h] for Scale, angle for Rotation, percentage for Opacity) |