Remove or hide actor with widget component

Try using Remove From Parent.

There is also Remove All Widgets which will clear the HUD of widgets.

Ah sorry, yes, that would remove all widgets from the viewport.

There is also Remove From Parent which is for any specific widget. I’ll update my answer accordingly.

Can you show the code you’re using to spawn and destroy these Actors

I’m using SpawnActor to create several widget actors, but when I try to use DestroyActor on them, nothing happens. Am I missing something? I have tried most methods that I could find online, I have tried putting them into an array, or giving them a new class, but nothing seems to remove them.

You mean Remove All Widgets ? I can’t find any node called Remove From Viewport

I tried using that, no effect on the widgets.

Do you add the widgets via the level blueprint or the player blueprint? Don’t know it makes a difference but I’d at least try it