Mouse cursor invisibility and enable

Dears,

I have a question about how to set the cursor invisibility but I hope it still can work ,thank you.

i just find the show Mouse Cursor function ,but when i make it false,
My Mouse cannot work for my UI.

thanks again.

If I get it right, you want to use an invisible cursor to work with UI?

I think setting Show Cursor to False disables the cursor. You can try to Set Visibility to False or Hidden.

But how do you want users to work with the invicible cursor?

When you open a widget, set ShowMouseCursor to true. When the menu is closed, set it back to false. This way, the cursor won’t be visible in-game, but your UI will work.

Thats right, I want to use an invisible to work with UI! but I dont know which node to hide or visibility the mouse cursor…
can you please tell me,thanks

but,i need it cannot be seen when UI open

Well you can solve that by setting a cursor widget with an empty UMG screen (SetCursorWidget on the PlayerController).

i think I find the anwser,