Get continous mouse position updates


what I would like to do: I want to move my camera when the player presses a mouse key and moves a mouse. I want to ignore wether the mouse is still on the screen or not. As long as the player keeps moving the mouse it should also move the camera. Currently I am using “Get Input Mouse Delta” to determine wether or no the player moves the mouse. However, if the mouse cursor reaches the edge of the screen it won’t count the continues movement of the mouse and there no long move the camera on that axis.

Is there a better way to do that?