A device (10) for laparoscopic or thoracoscopic surgery, the device (10) comprising: a first member (20) to be moved across the body (5) of a patient and a second member (30) to be placed within the body (5), the second member (30) comprising an image capturing device (32) to capture images from within the body (5) and to transmit the captured images for display wherein the second member (30) is in magnetic engagement with the first member (20) such that the movement of the second member (30) within the body (5) is in response to movement of the first member (20) across the body (5).