Make jump height get higher the longer key press

Hey does anyone know how I can make my jump get higher the longer I press my jump button exactly like https://supermarioplay.com/

Because i dont want it so on the button release the character jumps, I want it so when the button presses the character jumps, but the longer the button is held while jumping, the higher up the character gets until some sort of max jump height

Please can someone help me out, thank you! :slight_smile:

Pretty sure the default Character class has settings/functionality for this: JumpMaxHoldTime | Unreal Engine Documentation
You probably just need to call Jump on button press and StopJumping on button release.

1 Like