Move the mouse to control the paddle. Don't let the ball touch the red!
Thank you @natalie. I have never made a pong before, so this might help me make more in the future.