Use the up arrow to jump.
This is a jumping function I am going to use for one of my games with a timer.