make it so when you release the space bar the character will end their jump short. It gives the player more control. Hollow knight has a good example of it