Removing widgets

Hello.

Is there a way to remove just one widget from the viewport. the only node I can find is “remove all widgets” whereas I only want to remove one widget.

if there is no node/set of nodes to do this, then I’ve included a picture below of how I’m currently trying to achieve it and maybe someone has some suggestions on how I can get this to work?


The images show me trying to set a variable )originally created in the thirdpersoncharacter) to true, and then set the widgets visibilty based on this. I feel like this would be fine except for a reason unbeknownst to me the variable is not being set to true and I’m unsure why?

any help and suggestions appreciated : )