How to play a different animation from animatedsprite2d

i’m tryng to play a different animation by animationsprite2d.anim2.play() but it’s not working.
I know it’s a noob question but please help

just do:

animationsprite2d.play("anim2")

refer to this documentation:

Thanks, wow that’s simple, i got it running with some wierd stuff lol, i’ll replace it right away

1 Like