How do you create an animated sprite?

Godot Version

Godot 4.6

Question

I am working on a game which requires an animated sprite (for walking) but it isn’t letting me upload my sprite into an AnimatedSprite2D node. Here’s the sprite in case it helps

catwalk

1 Like

create an animated sprite 2d, go to the right for the settings that says “Sprite Frames” click it, then add an animation via the Add frames from spritesheet option (after selecting the sprite a menu should appear where a default animation exists) then you can import your sprite and split it into frames, etc. hope this helps!

I tried that and it didnt work

2 Likes

Explain what you mean by didn’t work. Is there something along the process that you doing know how to do/doesn’t match your experience doing it? Is the sprite not animated?

2 Likes

im dragging the sprite (in the post) into the animated sprite 2d but it isnt working even if I try and manually force it in

1 Like

you dont drag the sprite itself—you create an empty instance and use your art as animation frames.

1 Like

thanks! its late now but im gonna try it

1 Like

it worked! thanks so much for the help

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.