Mouse Button Movement on the XY Axis

I was wondering how I’d go about with Replicated Player movement on the XY Axis in a direction, when holding down a mouse button?
Before I was using “Line Trace by Channel” using “Break Hit” but, using this allows you to click and move, at the same time as holding the button.