How to use Verse's OnClick() on Widget Blueprint Button?

I’m wondering how to use custom buttons created using widget blueprints in Verse, since in the Assets Digest it’s class is of a widget, so the OnClick() method is not implemented. I tried casting like so:

    if(z:= button[btn]):
      z.OnClick().Subscribe(test)

But it doesn’t work. I also tried using the button and button_slot classes, like so:

    y: button = button{
      Slot:= button_slot{
        Widget:= btn
      }
    }
    y.OnClick().Subscribe(test)

Can anyone tell if it’s possible and how? (P.S.: casting button_loud, button_regular and button_quiet doesn’t work as well.)

1 Like

Widget blueprints generated in the verse assets digest are static/non modifiable they just appear as is with no options. At this time you can only just assign them and remove them.