create_animation_player
Create an AnimationPlayer node in a Godot scene, optionally with pre-configured animations. Specify project and scene paths, then define animation clips to attach.
Instructions
Create an AnimationPlayer node in a scene with optional pre-configured animations. To add animations to an existing player, use add_animation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeName | No | Name for the AnimationPlayer (default: 'AnimationPlayer') | |
| scenePath | Yes | Path to the scene file (relative to project) | |
| animations | No | Animations to create with the player | |
| projectPath | Yes | Path to the Godot project directory | |
| parentNodePath | No | Path to the parent node (default: root) |