allows the mouse to move units