Remove Widget From Viewport

I’m having an issue with trying to remove a widget from the viewport after it spawned. I am using the flipflop function to try and remove it but no luck. Please tell this noob what he’s doing wrong. :slight_smile:

Hi, TaviScipio

A widget variable is needed to save the ref rather than create a new widget.

When you create a widget using same name node, you essentially create a widget, object in your game. So if you want to destroy/move/change this object later you should store the reference to created object in a variable.

1 Like

Y’all are amazing. Now that you spelled it out for me it makes complete sense! Thank you!!!

Thank you so much! I’m still coming to grips with how to think about actions within blueprints and that helped!