please help my animations arent working

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)

Hey @blasr . Would be better if u share with us some images of your actual animation node with the animation on it.

The animation name parameter is case sensitive. Please try to check if your animation name doesn’t have any typo or if it was wrote different, like Run instead of run.

3 Likes