I need to click two times to start interacting with widget

When i open an inventory widget, i cant interact, when i click only then i can start interacting with widget.
And when i exit the widget i cant move my mouse, i need to click to start looking around

please help

2 Likes

when you create a new widget and set input mode to ui, there is a pin that says “in widget to focus”. if you plug the inventory widget into that, it will focus it so that you don’t have to click twice.

The “set input mode to ui only” blueprint node is what you’re looking for.
hope that helps! if you need any help finding it or anything like that, let me know!

3 Likes

Hi , thats not that, i toggle my widget by pressing tab button to turn it on/off when i add a node “set input mode ui only” it isnt letting me to get the tab button input and turn off my widget. Do you need video or screenshot?

Oh never mind, I figured it out, thanks for help, i taked your answer in mind and made it :slight_smile: YYEEAAAHHH FINALYYY. thanks for help IcemanX

For those who come across this thread via google. Mathew Wadstein explains how these nodes work in this video: . Provides a few useful references and “gotchas”

2 Likes

I confirm, his solution works.
Btw, Mathew should be given a prize from Epic, i really learned so much from him…

1 Like

So this works fine but I have it set up as an in-game menu that is toggled with the escape key but when I use the set input mode to UI only I cant return to the game with another hit on escape.
Does anyone know how to solve this? Thanks

1 Like

Sune, I know this is a while ago, but the reason is that set input mode ui turns off game input on characters and playercontrollers, such as clicking escape. Put all your movement controls and whatnot you dont want to run on your character, then instead of setting input ui, set input mode ui and game and then disable input on your character. Reinable it after closing the widget btw

1 Like