Using a blueprint interface on a widget component

I have worked with blueprint interfaces with actors before but not with component widgets. I’m trying to update my widget that is attached to an AI pawn.


The code inside the BPI does not run. Looking for a solution. I turned to blueprint interfaces because I didn’t want to cast to the widget every time a pawn is damaged.

You’re sending the message to the Component, not to its Widget. Access the HealthWidget’s User Widget first, and then message it.

Ahh, I see. Thank you.