Mouse in Menu is missing-but not in sub-menu

Hi,
i suppose its a beginer question, but i cant find answer. I have MENU in separate level. When i start level there is no mouse cursor but buttons are still hoover(if i can find it). When i enter a submenu and go back to main menu cobtrol will appear. Thats in case 01(level blueprint settings). If i change Level Blueprint to another version (02)-mouse will appear but when i enter a game level my character cant move./! Can you help please?

Hello vochal,

If you would like you mouse to show even after transitioning between levels you could used the “Set show mouse cursor” node within your player controller. If you call this node and set it to true on begin play the mouse will always be visible as long as you have your player in the level.

Side note one, it sounds like you are going through multiple menus by switching levels. Instead of having a level for each menu, you could instead just use the “Remove widget from parent” node to remove the old menu and then create the next widget and add it to the viewport without changing levels.

Side note two, you could get a reference to the player controller within the menus that you would like the mouse to show up for and you could then set the “Set show mouse cursor” node to true on event construct. Then if you would like to hide the mouse again once the menu is gone you could simply set “Set show mouse cursor” to false when you remove the widget from parent (if needed). I hope that this information helps.

Make it a great day

Thanks for response,
I have two levels: First is for menu(PLAY,OPTIONS,EXIT) after press PLAY-second level starts(with actual game)-there is no problem. Maybe I wrote it wrong. After i stard the game MENU show up and there is no cursor-but I cant still see activness of buttons when invisible mouse hoover above them. When i click on option mouse will show up and after getting back to Main menu mouse will stay visible. The first start of the game worry me.Set show mouse cursor is there.
But still thanks for answer.

Hello vochal,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue a clean project?
  2. Could you provide a detailed set of steps to reproduce this issue on our end?
  3. Could you provide screen shots of any other blueprints that may be involved with this issue?

Hi,
I already solved the thing but still thanks for response. I rewrote Player blueprint.!