How to fix flying

I can’t figure out how to stop my character from flying. When you spam up arrow, you can jump infinately. Pretty common, but I don’t know to fix it. Any help would be appreciated. :smiley:

.

Wow, you’re a wizard

can’t you just change the gravity

Nope

Did anyone figure out how to stop flying?

yes… get a switch and the “up” output on the “key” node will turn it off. use a collision to turn it back on…

So that way when they release the key it won’t until you land

Or hit a wall, unless you change the collision or you rig a wall jump like I did…