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
SirDigbyOP4mo ago
I thought this would do it but not so, it seems
No description
Archengius
Archengius4mo ago
is it an interact widget?
SirDigby
SirDigbyOP4mo ago
Yes
Solution
D4rk
D4rk4mo ago
Call OnEscapePressed
SirDigby
SirDigbyOP4mo ago
That was exactly what I needed. Thanks!

Did you find this page helpful?