Hi, I’m having an issue with communication between multiple UMG widgets. I maybe doing this completely wrong any help in any way would be amazing.
What I want to do is have one master widget with 3 sub widgets inside it, and have buttons within sub widgets be able to change the set visibility within the master widget. The master widget looks like this:
Using this tutorial on “cast to” between UMG widgets, I’ve made some progress but I’m stuck. this is what I have so far:
Here’s my hub blueprint:
Here’s my widget1 blueprint:
and here’s my function within the master widget:
Right now I when I hit the “widget 1” Button I would expect “widget 2” to become visible and print the string. But the only thing that happens is the string prints, no visibility change.
Any help on what I’m doing wrong or a better way to do this would be very much appreciated.