Remove from parent

the switch node in your BP has not any sense as it will going to the same place no matter the results (create a widget and put in the viewport)you should create the widget, then STORE in a variable and if no trace, check if you have something in that variable ( with IS VALID ) and if IS VALID then remove from parent. if not you dont have anything to be removed.

so I dont know why you do that switch with everything pointing to the same flow of the logic.

should be something like this:

2 Likes