Call actor from ui widget

i built “alter” that when the player get in range he can interact (counting till 100). but i cant call the actor from the ui widget. i tried creating a reference variable and get all actors from class yet non of them made the progress bar updating.

Create reference variable as type Altar_BP reference in HUD graph. Make editable, expose on spawn and recompile. Navigate to where you create the widget and it should have a new pin for the reference on the widget node. If you create the widget inside the Alter_BP you can just pass through a reference to self. If not you will still need to get the reference to pass through. You might have better luck with calling the class or all actors of class within an actor BP graph but try not to use all actors of class on continuous tick/pulse.

works perfectly, thank you!!!