Access boolean from widget in bp actor

Hi, help me. I dont know if I am stupid or what. I just cant come up with an idea how to fix this. I have a widget with button- I have an event onclick fot it. I set a boolean for it - whether was clicked. And i want to stop action (widget with animation) in my bp actor as button in this widget was clicked. I’ vie tried accessing widget variables from get all widgets of class> get> and choosing my boolean as a condition for branch. But i get an error that accessed none.

Heeeelp!


one thing you can try is to set the get all widgets of class node to not be top level only. this means it will look everywhere, including your non viewport widgets.
that being said, what would be better would be to directly have a reference to the widget in question.