Create keyframe animation
create_keyframe_animationCreate a keyframed animation curve for any parameter path, synced to the timeline, with linear or smooth easing. Ideal for choreographed motion sequences.
Instructions
Animate parameters along a keyframed curve synced to the timeline — structured motion beyond animate_parameter's LFO (use animate_parameter instead for continuous LFO oscillation). Give time/value keyframes and the targets; this creates a baseCOMP 'keyframe_anim' under parent_path containing an Execute DAT that interpolates the curve each frame (linear or smooth easing) and writes the value onto every target parameter, looping over the keyframe span (or holding the last value). Use it for choreographed moves (a build-up, a drop, a sweep). Returns a summary plus a JSON block with the container path, the Execute DAT (hook) path, the loop duration, the targets, and warnings (including any targets that did not resolve). Returns a friendly error if the keyframes do not span a positive duration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | Loop the animation; otherwise it holds the last value. | |
| easing | No | Interpolation between keys: linear, or smooth (eased) for organic motion. | smooth |
| targets | Yes | Parameters to animate, each written as 'nodePath.parName'. | |
| keyframes | Yes | Keyframes (time + value); the curve interpolates between them in order. | |
| parent_path | No | Parent network where the keyframe-animation container (a baseCOMP) is created (default '/project1'). | /project1 |