How do I programmatically close an Editor Utility Widget?

So, I’m creating an Editor Utility Widget Wizard to help people create a required asset for my plugin. (It manages some of the code’s inner workings, depending on settings.)

The problem is, I want to have a “Quit” button, but I can’t seem to make the EUW close it’s window. Does anyone know how to, on a button press, stop, close, or quit a running editor utility widget?

I’d like to do this in blueprints, but can also execute c++ code if needed.

1 Like

I know this is late, but I had the same problem, and couldn’t find an answer here on the forums.
Anyways, you use the Unregister by ID node and it will close the widget as long as you registered it and saved the ID as a variable on something like Event Construct, which looks like this.


The other node is just Get EditorUtilitySubsystem.

2 Likes

Oooh! When I get some time during the holidays, I’ll test this out. If it works, I’ll mark it as the solution. Thank you!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.