You can use a Blueprint Interface.
Hello,
I have a variable in my BP and I am only able to make this variable in this BP. But I can’t find a way to pass my BP’s variable to HUD please help.
There is no Interfaces tab in HUD.
Thank you!
First you need to get your actor refrence to HUD, there many ways to do that for example if it’s a character possesed by player controller you can access it from “Get Player Character” node, also you will need to cast to you blueprint class in order to access there added variables and functions. I made to tutorial about class basics, it might help you figure out things: