Mouse focus issue

Hi,

Is there any way to set the MouseFocus to the main game window manually to the game at “MatchHasStarted()”?

It seems like it loses its focus on the main game window so the first click is always loss…

If you want to autofocus mouse during play in editor:
Go to editor preferences/level editor/play. Tick checkbox “game gets mouse control”

I need this control in binary version of game.

It should be fixed in 4.8, in the meantime the workaround suggested in [4.7] Game focus lost on full screen launch - XR Development - Epic Developer Community Forums could help you:

Adding a “Set Input Mode Game Only” node on Begin Play […] to your Player Controller connected to the Target pin