Reference to blueprint from widget

That’s pretty normal. A behaviour like this is best (there are many ways, though) achieved through a delegate. You do not need this part:

image

Instead:

The above translates to - whenever a button is clicked, execute a custom event in this actor. You can instruct the BP Camera Level what to do.


Note, we can take it further and make it better by implementnig a custom Event Dispatcher in the widget - this way each button can send unique data. And we can execute an event in another actor (BP_CameraLevel) directly:

  • we receive a notification in the BP Camera Level

  • in the widget, each button click dispatches unique data:

  • in the main menu actor that hosts the widget component:

In short: whenever a widget button is clicked, the BP Camera Level actor receives a notification (and data).