if the ball touches the red line, you'll have to press green flag a lot time at least 2
thank to @Zinea