• Godot Help
  • How do I loop animations properly with AnimatedSprite2D?

I'm super new to Godot, and I'm working on my first game/project. One hiccup I'm running into is that only the first frame of my animations play. How do I fix this?

  • xyz replied to this.
  • 09kingarthur You need to tell sprite to start playing the animation:

    $AnimatedSprite2D.play("walk")

    09kingarthur You need to tell sprite to start playing the animation:

    $AnimatedSprite2D.play("walk")

      If you're using v4, also make sure to press the Loop switch on in the Animation editor, for each animation