But that’s like 3 widgets only, no? Why not access them and hide them as needed? You may want to move the one widget from the LB elsewhere → Game Mode, perhaps? It can be made to work with a LB widget but it’s awkward.
GetAllWidgetsWithInterface
This is actually a somewhat clever hack-ish way to go about it. I guess it’d work like this:
- create a new Blueprint Interface in the Content Browser, add a function with an inputs:
- implement the BPI in all widgets that need their visibility altered:
- you should be then able to call like so from anywhere:
Any widget that has this interface will fire the corresponding function that BPI provided. Untested but should / could work.