Let the mouse do 2D strafe


What would be the proper way to get the mouse to do strafing, the way the WASD keyboard keys do?

I'm interested in placing the camera over the XY plane, and let the user travel this plane using the mouse.

Is there a built-in way of accomplishing this?

Thanks for any tips  :smiley: