How to manipulate an actors variable from within HUD?

I have two objects that are separated by a distance. I have created a BP for a measuring tool that measures the distance between the two objects and placed it in the world. My goal is to enable/disable the measurement tool from within the settings menu. I can’t seem to find a way to manipulate my “isEnabled?” boolean (from the measuring tool BP) in the HUD. Attempting to cast to the measuring BP fails because I cannot assign an object. Is this idea possible? Is there another means to accomplishing this?

How I resolved this…

From within the HUD, get all actors of class: measuringtoolBP. Used a for loop to loop through the array, using the resulting actor from for loop as the object, cast to BP_measuringtool. Then I was able to toggle my enabled variable.

Yeah. It’s just regular referencing. For this you need to know where / how / when and by whom is the widget created and then the same for the BP Measuring actor. And connect them. There are too many ways, actually.

get all actors of class

If you ever have 1 instance only, you can skip all and use Get Actor of Class. But this is not a good practice. Imagine how bad it would work if you had 2 tools.