How can i fix this error?

Hi, I’m creating a game like South Park: The stick of truth so an RPG type of game and i came across this error when trying to create a potion.
Basically what i mean in this blueprint is if the max health isn’t equal to current health to make the potion button visible but i needed

to cast the player bp to the combat hud bp to be able to achieve that and i can’t compile it to make it work because i need a object/wildcard to attach to the cast bp and i don’t know what to attach to it.

Best Regards,
Nijo

is it to the player you are trying to cast ? the use get player pawn or get owning player pawn( if multiplayer)

hi here!
you don t have anything to cast to.
you need to input something in your cast node

Yea it’s a player.