Making platformercharacter not continuously jump but jump more like in mario

I am trying to make a platformer but I do not like the way it feels. I am using the platformercharacter object but I don’t like how holding down jump causes you to jump repeatedly. I would like to make it so you don’t jump repeatedly but you still jump higher by holding down the jump button. basically like mario. I tried turning off default controls and using the “trigger once while true” for jumping but that makes it so you always jump low.

can’t you change the power of the jump?