If the player sprite is not in its usual level position and hits spacebar, the player sprite will do its double jump.
Then we want to set the double jump variable to true so that the player cannot jump again after it has used its double jump.