Drag your Ball down the route while tapping to paint the line. To stop the Ball and prevent it from running into objects, let go of your finger.