Blueprint getter

I have a MyCharacter blueprint with variables of HealthValue, EvergyValue in it. I do not want to make these public so I need a getter. I cannot figure out how to create the getter in blueprint so that I can access them inside my Hud widget.

Thanks! I was actually trying to create a return node by right clicking in the blueprint instead of selecting New Output from the details menu! Was wondering why I couldn’t find a return node.

Create a Function inside MyCharacter, name is GetHealth, mark it as Pure, add an Output for it, then return your HealthValue as output.