How, in the world, do I animate a sprite???

Okay, I am new with Unity so stick with me.

  1. I want to make my sprite to animate
  2. I also want to make the sprite to change animations when a different/no button being pressed(when the player sprite is walking and then stops)

Also, I’m doing this in 2D, not 3D because the only thing I can draw in 3D is a boxy building so yeah :confused:

I know how to animate, I mean that of how do I make those images into an animation

This guy pretty much sums it up.