Topic was automatically imported from the old Question2Answer platform.
Asked By
CaueHenrique
How can i animate a character from a sprite sheet? The only tutorials i found on youtube was using a lot of images, there is a way to do an animation using just one image with sprites?
Set the sprite sheet as the Sprite’s texture, then under the “Animation” section in the Inspector set HFrames to 4. This will slice the sheet into the four individual frames. Changing the Frame property will select a frame. Then you can use AnimationPlayer to animate that property.