widget button click event outside widget inside actor BP

I created a 3D widget blueprint pop up for an land tile, I am trying to figure out how to dispatch the button click on the widget using event dispatcher to then call that event bind event in an actor blue print so when that event is called it will trigger destroying an actor component inside that actor BP

I’m using this setup:

  1. in the your widget create a Parent variable (that value is a actor where 3D widget is) ;
  2. in the actor (where 3D widget) on the begin play Get User Widget Object by the 3DWidget, then Cast to YourWidget and set self to Parent of the widget;

now you can get access to your parent from widget and [use some functions][1];

This is perfect, thankyou!