Download

Getting mouse focus on widget without clicking

Hi I am pretty new at Unreal Engine, and I already need some help. I don’t even know how to ask for that in google so I’m gonna show you this video and say what I want to get.
When I press Escape, the mouse cursor shows, but it doesn’t get focus, I mean that the camera is still rotating when I’m moving it until I press left mouse button. I want to get it without pressing left mouse button, can someone help me? [video]https://youtu.be/24E5U1BKMyQ[/video]

Add a branch at each mouse input/ keyboard input that checks a variable- let’s say “IsControlable” that is set to true when you close the widget and to false when you open it.