Strength of Jump/Time button held

Hey Forum,
is there anyway to change the strength of the jump depending on how long the button is held?
Cheers
TheBoss
is there anyway to change the strength of the jump depending on how long the button is held?
Cheers
TheBoss
Comments
change global attribute ButtonPressed = true
otherwise or when released
change button pressed to false
then on your character (that jumps) put a rule when button pressed is true
then inside create a timer every 0.05 seconds change linear y motion to ... try 50-125 (depends on your gravity setting for one) - while button pressed is true it will pump your character with a set motion - should accomplish the job
It worked, many thanks
Cheers
TheBoss_123
How do I set a maximum?
Cheers