Help with blueprint cast tos

Hi guys,
I having problem having my blueprints talk to one and another. I am trying to have a button on a widget cast to a blueprint and run a custom event on that bp and it keeps failing I don’t know why. The picture I posted are the ways i tried it PLEASE HELP!!

Hi

What I would do is when you bind the click.

Cast to your player, set a bool for example to yes

I your player, of a sequence for example have that BOOL stopping the branch.

When you click the button, Bool turn to yes and runs script. After script run, Set Bool to No.

Otherwise, put the entire script in the Binding and run it in your widget if you can.

Thanks for the reply I got it to work by using a get all actor of class node thanks for the help tho.