Mouse cursor not show when create Pause Menu

Hi all!

Well, i followed the documentation and made a pause menu and here is the problem: when i hit “esc” the pause menu show up like it should be, but the mouse cursor is still hide. i can see the mouse when i move it outside the window, and the button can change color when the “mouse” moves on it. i’ve checked many times, my blueprint is exactly the same as that one in the documentation. Do i miss something anywhere else? i’ve add the set input to UI only and the show mouse cursor node is checked.

Any clue can be helpful!

Hey zlyodie!

Try this

  1. GetPlayerController
  2. Drag from it and Set ShowMouseCursor
  3. Check it
  4. Do the it inverted, when closing pause menu
  5. Done

Hope this works, cheers!

Hm, that’s weird… :confused:

Still not showing…

If i click on the button, the mouse will show up (i can still see the cursor if i move away the mouse from the button before i release). but after that, when i click on the margin, the cursor will disappear again.

Thanks anyway :wink:

Just ran into the same issue. Hope this helps other Unreal newbies like me!

Solved it by wiring up the FirstPersonCharacter Blueprint Event Graph like this:

And the PauseMenu Widget Blueprint Event Graph like this:

Hi, I had the same problem. Then I found that this happens only first time I pause the game, if I unpouse the game and pause it again the cursor shows up. So for me was the solution to use what “remonzwarts” proposed, but still didn`t work.

…ad the end I had to add one more set show mouse cursor with player controller before “add to viewport” node

Thanks, it worked:)

Thanks, it worked for me.

Adding another ‘Show Mouse Cursor’ worked for me too but it makes the code messy. Not sure I understand why it didn’t work in the first place.