How to destroy a Widget inside a WidgetComponent (3D Widget)?

Hi,

how can I destroy a widget that has been used by a WIdgetComponent inside an actor?
By destroying the actor, the widget component gets destroyed but the 2D widget remains and things like timers, event dispatchers etc. will be executed inside the widget.
So what’s the best practice to completely destroy the widget?

Thanks and best regards,
Daniel

Hi, from what I gather is you’ve got a widget component deployed in one of your actors, and widgets which aren’t in the game world but on your HUD. You’d like to remove the Widget from the Actor and HUD correct?

, Will