How to get all buttons in a widget?

Just what the title says. I want to enable/disable them in bulk.
Thanks.

In C++, the UUserWidget class has a UWidgetTree that contains a list of everything that is nested in the UserWidget.

1 Like

Thanks. What about blueprints?

By default, blueprints do not have this feature.

But you can add it using C++ and UBlueprintFunctionLibrary.

1 Like