i know spanim but i don't know how to use it while my sprite is walking.