Hide mouse cursor during drag and drop operation

This needs to be revived.
Why do we want this nonsense? because UE5 does stupid things.

For some reason the mouse frame rate when dragging the object seems correct. But it depends on how the object is selected (a corner) and the speed of the mouse (higher), the framerate of the game (low), there are cases that it is not fulfilled correctly and then, the dragged object is quite far from the cursor.

Surely there is some “enlightened” person who has never encountered the problem… and will tell you that drag and drop works well… I suppose if you make toys it does.
The framerate of the mouse is not the same as the speed here at which the drag moves. An example:

For the enlightened one who has to say something (I don’t feel like listening to it)
We are looking for this.

It does not work correctly. By not working correctly I mean that the object is too displaced from where the cursor is. In some (many) cases it goes quickly.
The operation does work, the visualization does not.

1 - the Show Mouse Cursor does not work for this case.
You don’t try to hide this, as you need the mouse to be captured with the object to let it go somewhere specific. You don’t have to hide anything, you have to capture and hide like the (Hide cursor during capturing)
2 - Set InputModeGameAndUI (Hide cursor during capture) does not work for this case.
It doesn’t work, when you drag the mouse appears. What you have to do is capture yourself with the drag so that you can drop the position of the drop where you need it.

For the “enlightened” one who thinks that it will never happen to them and that it is a specific case.

Does this nonsense happen in Unity? No.
Does this nonsense happen in CryEngine? not even a joke.

Any ideas on how to do just what he does in the video?


By the way, they are competing against a 1999 engine, released in 2004, the world of warcraft editor or wowEdit. We are almost in 2024.

1 Like