animation_set_keyframe
Set a keyframe on a specific animation track at a defined time with a given value to control animation properties.
Instructions
Set a keyframe in an animation track.
Category: Animation
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) animation_name: Name of the animation track_index: Index of the track (0-based) time: Time position for the keyframe in seconds value: Value for the keyframe (JSON string for complex values)
Returns: Success message or error description
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| animation_name | Yes | ||
| track_index | Yes | ||
| time | Yes | ||
| value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |