I want to lock cursor position on viewport when player presses right moust button down, during which he can drag the camera around an object.
I have been able to do this via storing the mouse position to a variable when pressing right mouse button, and with mouse X/Y movements use “Set Mouse Position” to the variable created.
This kind of works, but unfortunately makes the cursor jiggle every frame, making it irritating to watch. This is because cursor is obviously setting its position twice every frame, once when moved and right after via my blueprint command.
I do not want to turn the cursor off, since having a “dragged hand” cursor works much better here than invisible cursor.