Moving an arm with Only Mouse movement

Hey, i’ve been trying for the past few hours how to make a system where moving the mouse Y will move the arm forward and back, while the mouse X will move it side to side. How would i accomplish this?

-Thanks :slight_smile: