Issues with locking mouse cursor to position

Good day everyone,

I asked this question over in UE4 Answerhub (, but as yet only a few people have looked at it, and no one has had any suggestions, so I’d thought I would post it up here also…

So what I’m trying to achieve is a form of continuous dragging, as normally with capture mouse on, dragging goes to edge of game preview window, and with capture mouse off to screen resolution edges. It works great in the X direction, but in the Y direction as soon as it has got to the bottom edge of the screen the cursor goes wonky on the X axis and then finally moves past the boundary I set, moves to the game preview edge and stops working.

I have linked the video ( the operation and a screenshot of the blueprint.

Any thoughts?