animation not working after following tutorial

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Redshellmeerkat

i have recently started following a tutorial for a top down action RPG game on godot. i have gotten to the part where i learn about animation trees, but ever time i start the game, the character is in a stationary position, and doesnt change position or animate at all.

this is the tutorial i am following and the part im up to: https://www.youtube.com/watch?v=Z9aR9IiiHT8&list=PL9FzW-m48fn2SlrW0KoLT4n5egNdX-W9a&index=6
the code i have is identical to the video at 24:20

i also get this error message repeated non stop in the second window:
ERROR: _travel: Condition “!p_state_machine->states.has(p_travel)” is true. Returned: false
At: scene/animation/animation_node_state_machine.cpp:184

i have been trying to find a solution for hours now, so if anybody could help that would be great.

thanks!