Set the jump so it can only be used once
Hi, I have introduced the jump option in my game by the "Change attribute > linear velocity > Y", when I press the space button, but the problem is that whenever I press it, the character jump, and that can be done as many times as you want. I would like that the jump could only be used once until you touch the floor or the platform again. How can I do that?
Thank you for your answers.