This project demonstrates the walk-cycle. By switching costumes, sprites appear to walk or talk, or do any number of other things too.
See inside and read the comments for both sprites.