Just move the green line. If the ball touches the red line at the bottom the you have to press the green flag to start again.
I made this project using scratch project starters. Thank you and have fun!