How do you toggle widget component?

Hi, say you have a widget component on your player character. How do you turn it on or off?
Thanks.

You can get Widget and connect to a Get User Widget Object then Set Visibility node, if is that what you want. You can create a function to set visible or hidden using a flip-flop node.

1 Like

It’s not working. I can see the enums are changing correctly, but the widget doesn’t disappear.

What do you mean? Which widget? You mean the widget component?

Yes, the character’s widget component.

1 Like

Thanks. It didn’t work, but I just saw “toggle visibility” node, and that does exactly what I want.