Why is my cast to failing?

This is not working, I dont know why, I have tried many different objects, maybe I have not discovered the secret combination:

I have also tried just using myhud variable which does work but doesn’t receive on the other end lol.

Hi Danny,

You’re really close. You need to drag from the Get Player Controller → Get HUD, then cast from that Get HUD node to the HUD you’ve added to it. If the HUD was not added to the controller via the Game Mode or other means first, the cast will still fail.

Let me know if that help!

Sorry it’s not working:

http://i.imgur.com/XJuJMth.png

cast is still failing

http://i.imgur.com/aiNw2V2.png

In that case it would mean that the myHUD bp is not the class being used by controller. This documentation page can help explain what is happening a lot better: https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/CastNodes/index.html

ah yes you are correct, we have to cast to the place where we created the widget! :slight_smile: