How to only limit 1 double jump per jump

Hey everyone, beginner user here needs your help/input. I did an event for double jump but now my player can double jump infinitely on a single jump… how do I limit the double jump to only happen once per jump

Try making an object variable called has jumped, or something similar. Set it to 1 when the player has already double jumped, and 0 when they haven’t. At 1, don’t allow the player to jump, and at 0, do. There might be a better way to do this, this is just the way I thought of.

1 Like

Add a scene variable or player variable like jumpcount =0 when you first jump do jumpcount=1
Then add other event to check if jumpcount =1
Player allow to jump again
Last set jumpcount =0

2 Likes