click the green flag to make the ball move and the paddle to move with your mouse pointer and when you hit the paddle with the ball.
I made it with scripts Check out my 2 Player Pong. https://scratch.mit.edu/projects/328977711/