add_state_machine_state
Adds a new state to an AnimationNodeStateMachine. Specify the state name and optionally assign an animation to it.
Instructions
Add a state to an AnimationNodeStateMachine
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | AnimationTree node path | |
| animation | No | Animation name to assign to this state | |
| state_name | Yes | Name for the new state |