Draw a path from the red ball to the yellow star. When you're ready, throw it from the start to the end, and also free the way while the ball goes forward.
Click and drag objects on the way, then click and drag from the red to the yellow ball to draw a blue path. When you're ready, space bar for the ball to follow the path you marked. You can also move the obstacles as the ball advances.