Help with a scaling jump

in many platformers, the jump button will allow you to hold the button linger for a higher jump, how can i replicate this so i dont need 2 buttons for a high and low jump?

1 Like

arrow keys

basicly just set velocity when key goes up

1 Like