Instructions: - Up Arrow |Jump|
Explanation: So the variable I made is constant and when collide with the edge or ground it will Do 0 (-) Y speed And 0 minus y speed is (So if the value is a high number it will be negative and if it is a low number it will be a high number causing collision and putting it at 0) The cat will fall at a constant speed and you can jump if colliding with edge or ground.