We are ready to rock. If we just set the paddle's
x position to the mouse's screen position by using
Input.mousePosition, we should be able to use the mouse to move the paddle. Change your line of code so that it looks like this:
transform.position.x = Input.mousePosition.x;
Save your Script and try it out.