Starting with Mouse Control without clicking

Hello, I’m new with Unreal Engine, so maybe it’s a stupid question, but I could not find the answer anywhere else.

Everytime I start the game, I get a prompt in the top left corner that is asking me to “click for Mouse Control”. Once I click, I can finally look around with my mouse. Another prompt informs me that I can go back to Mouse Cursor by pressing Shift+F1.

How can start right away with Mouse Control enabled, without need to click?

I suppose all of these are some presets of the PlayerController blueprint, but I don’t know how to edit/override it.
What if, for instance, I want to change the key combination to go to Mouse Cursor? Or if I want to change the layout/tesxt of the prompt messages?

those messagens are default messages, because you are using the viewport from the editor. Use another kind of play settings, like standalone or new window to play in editor.

To change that you have to change the editor settings (but not sure if possible), not the blueprint controller.

PS: and don´t worry, those messages are for the editor, not to your game

Ok, I tried witha new window and the behavior is actually the one I wanted (i.e. different from the viewport one).
Thank you! That was the most counterintuitive thing ever, though.

1 Like

haha, no problem my friend, the funny of learing is exactly that, the simple funny things!

Please mark as resolved, so ppl know this problem is gone, thanks and good luck!

I notice that the provided Puzzle Game template manages to avoid this issue, even when playing in the editor. I have not been able to find out why though. If anyone could enlighten me that would be great.

Under Settings - Project Settings - Input there are options for immediate mouse capture (selected) but still not working the way I want (like the puzzle game does it)…

I’d really appreciate if anyone can explain what the puzzle game is doing to skip that message.

Hi,

There’s an option in Editor Preferences > Level Editor > Play > Play in Editor called “Show Mouse Control Label”. Just uncheck it.

2 Likes

Thnaks for the useful info! Also the other commands look interesting.

Can not find the option also. But it is OK if you put a SetInputModeGameAndUI or SetInputModeUIOnly node in the lavel blueprint or anywhere else.

This not work for me. It did not show the label. But not function well

This question is almost a year old. (sadly) I’m not using UE4 anymore, so I’m not updated, but it’s possible the position of the button changed.
This question was related to UE 4.10, what version are you using now?

The option is called “Game Gets Mouse Control”. check that box to start with the game having mouse control.

The other setting “Show Mouse Control Label” is just whether you show the UI for the mouse controls; nothing to do with the actual functionality.

However, thanks to SumFX for pointing me in the right direction so I could find the setting!

1 Like

Edit > Editor Preferences > Game Gets Mouse Control

1 Like