Godot Version
4.2.2
Question
Hello! I’m new to godot and I am trying to make a state machine for my game. I am trying to follow a tutorial for an older version and they use this method to transition to any state without any condition:
var anim = $AnimationTree.get(“parameters/playback”)
anim.travel(“idle”)
In my version I cant use anim.travel(“idle”) I get that the travel function does not exist. Also I cant use the var anim = $AnimationTree.get(“parameters/playback”).