I made this project by using different type of coding and trying to make the sprites do both actions at once.
I learned how to create this project by looking over my old projects and learning how to make different code sequences.