Don't know if this is a bug, but I'm in the middle of trying to update my project from Godot 4.0 to 4.1 and I can't tell what's wrong with this. When my game starts, the character is in the idle animation. Then, when you press WASD to move, it goes into the moving animation, but then when you let go, it stays in that animation. My code was working fine in 4.0, but it doesn't work anymore.
I tried "printf debugging" by putting prints after both parts of those if statements, but those show up as expected. Something interesting is that if I go to my Run animations and set them all to be NOT looped, the problem goes away, but then the running loop cycle only plays once while you hold down WASD and then your character just slides on the ground with no animation until you let go and start moving again.
Did they break AnimationTrees, or is there just a new way of doing this?