Hallo, I have some jumping code I am working on, and when I push space, my model jumps, as planned, and when I let go, the model falls, as planned. However, if I keep holding down the space key, the model keeps going up and up and up forever, until I let go, then the model falls again.

Is there anyway to make the space key stop inputting after a second or so? So that when I push the space key and key_space == 1, space_key will == 0 after about 1 second, regardless of holding down the key or not. Nothing Ive tried has worked.

Thanks