Using Widget button to trigger actor blueprints

Hello hello, i am designing a ‘sort-of’ UI for touch input.

>>>>>I have a few actor blueprints. Currently i am toggling the visibility of these cubes by the ‘tab’ key

>>>>>On a tablet there is no keyboard, so i am thinking of toggling these cubes via a ‘button’ on widget blueprint

>>>>>I tried to use blueprint interface

>>>>But i am unable to set the actors like usual if i am using an actor blueprint. Is there anyway i can achieve this?

You could make an event dispatcher in your HUD, bind it to an event in your world after you add the HUD, and call the event from the HUD.

well or a interface “get all actors implementing interface” and stuff