Press the green flag and move your mouse to stop the ball from getting to the red. If your ball gets to the red then press the green flag again and try again.
Credit to the Scratch Wiki for helping me make this!