setting variable error


Hello I set this variable but I’m still getting error.

Yes, it looks like you’ve correctly set up this part.
This issue likely lies in your PassHUD function.

Ensure that the HUD reference is actually passed in the function- as well as that, ensure that the reference passed is actually valid in the first place.
Of course, also make sure that the function is being called at all. You’ve used an interface, so you could’ve just accidentally added a function with the same name rather than the interface function.

thanks it’s from player controller now I solved Thank you