When the sprite stops for the first time hold down the spacebar
I added the ability to press the space bar when the sprite stays still to make it jump.