Make mouse cursor invisiblity and enable

Dears ,

I want to make my mouse cursor invisiblity and enable to work.

I find a function “Show Mouse Cursor”,
when I make it false,My Mouse cannot work with my UI.

I will be thanks a lot for your answer.

How can you use an invisible mouse? The whole point of hiding the cursor is for games where you don’t want to use it. If you need the mouse, doesn’t your player need to know where it is located? How would one use the mouse to click on UI buttons if they can’t see it? Do you mean you want it to show when the UI is open and be hidden when the UI closes? That is about the only thing I can think of where this makes sense. And if that is the case just toggle the visibility when you open the UI set “Show Mouse Cursor” to true, when you close the UI set it to false. Otherwise I am 1000% confused by this post.

i think I find the anwser, How To Create A Pause Menu - Unreal Engine 4 Tutorial - YouTube