setKeyframeVelocity
Adjust keyframe velocity curves in After Effects to set incoming/outgoing speed and influence, controlling animation easing and timing.
Instructions
Adjust the speed and influence velocity curves (Graph Editor curve) of a keyframe on a property
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Timestamp in seconds to target nearest keyframe | |
| preset | No | Pre-configured velocity curve preset ("dynamicSnap" = 75% influence modern snappy curve) | |
| inSpeed | No | Incoming speed (value change/second, default: 0) | |
| compName | No | Composition name | |
| keyIndex | No | Keyframe index (1-based, defaults to 1 or matched by time) | |
| outSpeed | No | Outgoing speed (value change/second, default: 0) | |
| layerName | No | Layer name | |
| layerIndex | No | Layer index (1-based) | |
| inInfluence | No | Incoming influence percentage (0.1 to 100%, default: 33.33) | |
| outInfluence | No | Outgoing influence percentage (0.1 to 100%, default: 33.33) | |
| propertyName | Yes | Property name to adjust (e.g. "Position", "Scale", "Opacity", "Rotation", or effect property) |