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
.5 Replies
I thought this would do it but not so, it seems
is it an interact widget?
Yes
Solution
Call
OnEscapePressed
That was exactly what I needed. Thanks!