change frame

I’m a newbie. I’m making a game which is needed changing frame. my game has 4 Direction(up, down, right, left). I want my character to do a different animation when it changes it’s direction. I don’t know how. And I have another problem too. When my character is walking, should do walking animation. but when It stops from walking, he shouldn’t walk. Please give me the codes or tell me where I can find the solution. Thanks for reading. :)  :)  :rolleyes:

You should have a look at this: https://docs.coronalabs.com/guide/media/spriteAnimation/index.html

thanks. I found the solution :slight_smile:

You should have a look at this: https://docs.coronalabs.com/guide/media/spriteAnimation/index.html

thanks. I found the solution :slight_smile: