Modifying Variables from widget to actor

I have a variable that was created in a actor blueprint, I want to set the boolean variable to true when a event happens in the widget, but I dont know what I need to make the target for it to work, if I do cast to actor it wont work, any suggestions or answers?

You need a reference to the actor you want to talk,

Find a way to detect the actor, can be:
The actor is unique , so i can use “get actor of class” (not get all actor of class) with the ref , set the boolean
The actor is not unique, add a actor tag to the actor, use get all actor with tag and get the 0, with the ref , set the boolean
The actor is the player character, use get player character node, to get the ref with the ref , set the boolean
The actor create the widget? when creating it, pass the "self"variable to the widget to store… with the ref , set the boolean

Ok the actor is unique so I used the get actor of class, but it says this.