How to Disable UI

I’ve got a box collision and if it is walked over text displays on the screen and when it isn’t being walked over it hides the UI, although it hides all UI on the screen. I’ve seen many posts showing how to hide UI by pressing a key but nothing for this.

Thanks

Hi,
After creating your widget, promote it to variable so you have a reference to this particular widget.
Then you can call “remove from parent” on it.

Thanks for responding but that didn’t work.

Just in case i got it wrong, is this correct?

Yes, you have to promote it After the “create widget” node
And you need to use a get, not a set :

Thank you so much!

1 Like