So I use a mouse to control a character, it's a platform game.
The character will jump whenever you click the mouse.
Is there a limit on how many time you can click for one action.
I want to limit it to only 2 click per jump (so it will be only jump or double jump) then you can do a double jump again once you landed on platform.
Is there a way to limit this? Sofar the character will just keep jumping in the air