How to properly close a widget

I have a reference to an open widget that I want to close, but how can I do so properly? I can remove it from the viewport with Remove from Parent but then the mouse is still in UI mode until I press Esc.
Solution:
Call OnEscapePressed
Jump to solution
5 Replies
SirDigby
SirDigbyOP8mo ago
I thought this would do it but not so, it seems
No description
Archengius
Archengius8mo ago
is it an interact widget?
SirDigby
SirDigbyOP8mo ago
Yes
Solution
D4rk
D4rk8mo ago
Call OnEscapePressed
SirDigby
SirDigbyOP8mo ago
That was exactly what I needed. Thanks!

Did you find this page helpful?