Gravity not working

the gravity is not working… is there a glitch or my code isn’t working?

Your velocity in the button press handler is going in the wrong direction. A negative value will go upwards. A positive value goes down.

1 Like