the variable can be named anything you want! the higher you set gravity at the start, the higher the sprite will jump. (7-15 recommended) the Higher you change gravity in the loop, the faster the sprite will fall. (0.5-2 recommended) credit to crbndioxide for the simpler jump script and the sprite.