A surgical device is disclosed. The surgical device has an endoscope having a camera that generates image data, a viewing device that displays a moving image based on image data generated by the camera, and a manipulator that is coupled with the endoscope, the endoscope being movable by the manipulator. The surgical device also has a controller that controls the manipulator based on a control command, the moving image displayed on the viewing device changing based on a movement of the endoscope. The surgical device further has a sensor coupled with the controller, and an operating element coupled with the controller, the operating element having a first operating state and a second operating state. The sensor detects a moving object, which is used in a surgical procedure, and generates a movement signal based on a movement of the moving object.