casting to character from 3D widget not working...

Hi!

I’m trying to cast to a character blueprint which has a health variable value decreasing as it gets hit by a projectile. A 3d widget holds a bar above the creature and I try to get the decreasing health value to change the percentage of the bar with the function below in the widget blueprint with the bar. I made it work elsewhere in my project but here it just doesn’t retrieve the value at all. I would appreciate any help. Cheers!

The owning player refers to the player controller. The cast seems to refer to a specific pawn. Try getting player pawn instead.

I am thinking the problem is in the Get Owning Player node.