Use this code for gravity on a platformer game.
You can drag the cat to test the gravity. The variable at the top is to remember if the cat is floating, it checks if it is touching purple(the ground) If you use this, change the color in the sensing block to the color you choose for your ground. All coding by me Wow...Forgot about this and started making a new one