Move the mouse to the sides to not let the ball touch the red line
You may need to see inside the project to fix the ball