This project has sample code that you can take to learn how to manage sprite movement. You will see how to get a sprite to jump using velocity and variables.