Having trouble referencing a text Widget.

I’m trying to run a function “FUNCTION_1” on my HUD widget to change text on my HUD. But I can’t cast to it from another object “Quest_Item”. For the reference to the widget I have tried the using the reference types: widget, widget blueprint, actor, widget class, and the object itself HUDTEXT but none seem to work.

How can I cast to this widget and call a function from a separate actor?
Any help would be greatly appreciated!

When you create the widget, you get a reference to it. You can pass that around to other actors.

If you can’t manage that, you can always fall back on ‘get all widgets of class’ to find a reference to the widget.

HudText has to be set.
Casting only says what class to use and it already knows that.

If the player creates the hud, you can save it as a variable and when the player interacts with something you can have a reference to the player which has a reference to the hud.