Right Click Hides Cursor and Resets Its Position

Hi guys, this is my frist post here. Hope you can help me.

As I said above on the title, when I Right-click the mouse hides itself, I can move it freely (even when hiden) and it keeps updating It’s location. And when I release the button, the mouse shows again on the position it was before vanishing.

Left-click is fine.
Middle-click got the same issue.

I Followed This Tutorial to make mouse visible:

If you can show a screenshot of your nodes that will be much more helpful on your setup.

However, common things I see is the option to “Hide Cursor During Capture” will actually leave the mouse cursor when clicking, if its unchecked.

Its located on the “Set Input Mode Game/UI”.

Hope that helps =)

I’m not sure what your actual problem is. Did you want the mouse to be reset to where it was before pressing right click or did you want it to appear in the location you moved it to while it was invisible?

If you want to set it to the previous location you could do something like the following:

That was exacly the problem. I created a UI and didn’t noticed that checkbox. Many Thanks!

Thanks guys. @Devero told me how to solve my problem.

I just tested Devero’s suggestion and yes that seems to be a better solution if your setup allows you to use the Set Input Game and UI.

Thank you man. Exactly what i needed