hi i recently started using godot and i was trying to make a small game by following brackeys video, I was trying to link movement with animation;
if direction == 0:
animated_sprite.play(“idle”)
else:
animated_sprite.play(“run”)
but after running the game, the logs said there was no animations such as ‘run’ and ‘idle’
I checked the animated sprite and it did have both run and idle animation (btw I didn’t make any typing mistakes in the code)