Click the viewport to capture the mouse. Use the keyboard to move the spacecraft and the mouse to control your view.