First mouse click doesn't register

I have mouse cursor showing and the game doesn’t receive the mouse focus until I click once. The mouse moves fine immediately but the UIs don’t register clicks until an initial click is made anywhere in the simulation.

I have had a similar problem in the past where the game doesn’t automatically receive focus until a mouse click. I’m pretty sure I solved that by setting input mode to game only. However, this approach isn’t working this time and I wonder if the reason has to do with that I have mouse cursor showing on start rather than mouse feeding into a look action.

Try going into editor preferences, under Level Editor section click play, check the box for Game Gets Mouse Control.

that didn’t do it.

I’m trying to get a widget to receive the first click. If I setup an input action on the mouse click in order to test behavior the first click triggers the input action. a second click does not however and at this point the interface responds to the 2nd click

It should be GameAndUI if you want both

I have tried all setting for input mode: game, game and ui, ui, and none of them work.

I have found the issue. I created an IA that creates the widget and found that it worked that way on first click of the widget. Which led me to find out that first click is registered if the input mode is set after a short delay on begin play.