How to read/write variable of HUD class from Level blueprint?

Gone through : https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/BlueprintComms/index.html

Created ‘CurrentScore’ variable (public) in HUD class to draw text on screen

Created object variable in level blueprint pointing HUD class to set ‘Currentscore’ variable, but its not working

Where am I going wrong?

Hey,

Try adding this in your Level Blueprint:

The GetHUD node should Cast To your HUD Blueprint, from there you can drag off and access and set variables in it.

-W

Thanks, a lot … Its working :slight_smile: