Set Keyframe
animation.set_keyframeSet keyframes on node attributes at a specified time, with full control over tangent types.
Instructions
Set keyframe on attribute(s) at current or specified time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Name of the node to keyframe | |
| time | No | Time/frame to set keyframe at (None = current time) | |
| value | No | Value to set (None = current value) | |
| attributes | No | Attribute names to keyframe (None = all keyable) | |
| in_tangent_type | No | In-tangent type: auto, linear, flat, step, stepnext, spline, clamped, plateau, fast, slow | auto |
| out_tangent_type | No | Out-tangent type: auto, linear, flat, step, stepnext, spline, clamped, plateau, fast, slow | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| time | Yes | ||
| errors | Yes | ||
| attributes | Yes | ||
| keyframe_count | Yes |