I'm in the process of developing a RTS camera script in the style of Command and Conquer.
So far I've modified the spectator script so that if you move the mouse to the top of the screen the camera moves forward. If you move the mouse to the bottom of the screen the camera moves backwards. Likewise if the mouse moves left or right the camera follows. I've even got the height of the camera linked to the mouse wheel.
What I would like to do is to rotate the camera by pressing the middle mouse button and moving the mouse in the direction I want the camera to rotate.
local mhit = window:MouseDown(Key.MButton)
This code lets me know the Middle button is pressed but how do I get the Left - Right information at the same time?