This is how to add a simple animation to your sprites! The possibilities are limitless! You can make them shake, flash, walk..etc. This is just some easy simple code that you may have to adjust to fit your desired outcome. If you have any questions, let me know in this comments section! :))
Art and coding by me!!