How to lock cursor position while rotating camera?

Hello,
i did a small blueprint so i rotate the camera only when RMB is pressed.
Now i need to add something on RMB Output “Pressed” so my mouse will stay in the same location and rotate the camera.
I tried few things but the mouse is still moving and the camera rotation stops :confused:

Any ideas how to stop the cursor at the position where “RMB” was pressed but still be able to rotate the camera ?

Blueprint:

Maybe you can get the mouse position, store it into a variable and set the mouse location with this variable when released? I think it may be easier to do in player controller.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms