*I’m using a translator, so the sentences may be awkward.
There is no problem when opening and closing the widget by simply pressing a key without using the mouse. When the widget is turned on, the view stops moving. And as soon as the widget is turned off, the view changes according to the movement of the mouse. It’s successful up to this point.
However, when I open the widget, the widget’s buttons and other interactive elements do not respond until I click the screen once. Even when I overlap the mouse, there is no hover response and no clicks. As a result, if I want to open the widget and press the button, I have to click the screen twice. Every time I close and open the widget.
A more serious problem occurs when I click the widget with the mouse and then close it. When I move the mouse, the character’s head does not move, but the mouse moves outside the screen like in the video. The mouse will not interact with the game until you click the screen again. It’s as if I pressed Alt+Tab to exit to another window.
I know how to use the following nodes, and I’ve tried many things such as focusing and unfocusing the widget, but nothing changes. I also differentiated the mapping context between user assets and UI assets.
I searched for various cases, tried using these nodes, and changed things related to ‘Mouse capture mode’ in the project settings, but the problem was not solved. Is there any other solution? Or is it a problem with my PC environment, not Unreal Engine? I’m confused because I’ve looked at other YouTube lecture videos on creating and using WIdget, but this problem doesn’t seem to occur. Please help me.