When i set it’s visiblity, it hides all user widgets instead of the specified class.
Whenever you create the widget, save the result as a variable. You can create custom events in the widget that toggle visibility of specific elements and call them with your stored variable. As far as I know, you can’t do it directly from any other BP. Not much work though setting it up with custom events.
That sounds like a bug however for a workaround right now you could probably just cast the Array Element
to Wavepopup
between the ForEachLoop
and Set Visibility
nodes (ignoring the Cast Failed
node).
How do you add a custom event to a widget? I understand what you are saying, i’m just not sure how to execute that
Right click in your widget’s event graph and type “custom event.” Select it and name it. You can now call from anywhere else in the BP by typing in its name, and can call the event from another BP by casting to your widget. Creating the widget fortunately gives you an output that can saved as a variable and used as casting. Very convenient.
Oh i feel so stupid, i was trying to add it in the designer tab :P. Thank you so much. Ill add a screen shot in a bit