How to make a RigidBody2D move from left to right with gravity = 0, then stop moving and set gravity = 1 to make it fall

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By sickopickle

Basically the title. I am trying to make a simple Plinko game where you drop a ball that bounces on pegs until it reaches the bottom of the screen, into several buckets with different point awards. It says in the documentation to use _integrate_forces, but this does not allow me to continuously move the RigidBody2D (Ball). Moreover, when I try to change the gravity_scale = 1 again to make the ball fall, it does not work.