You need to store a reference to the widget in some place that is accesible from the actor.
For example, in the following picture, the widget is created in the Player Controller and stored in a variable called CustomWidget.
After that, you can access the widget from the actor like this: