Trying to cast to widget.

I’m trying to cast to a widget to update some text but I get this error when casting.

A widget component is not a widget (it holds a widget in an actor).

You cannot cast from it to a user widget. You can call “Get Widget” from the widget component and cast that to your desired widget.

Don’t forget to set the widget class in the add widget component!

2 Likes

Thanks, that was exactly it. Says I did remember to set the right widget class in the add widget component. It was just that pesky get widget!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.