The strength of any actions based on any key retention time.

You can do something like in this tutorial or just add a timeline that keeps increasing a float variable (JumpMultiplier) and stops when you release the button.