Unable to access screen coords from character

Hi Fellas

I’m having trouble getting screen coordinates into my character class. x and y for the center of the screen, and also projected 2D vectors of world positions, are all coming out 0.000. I’ve tried both C++ and blueprints- in blueprints I’m using the Event Receive Draw HUD node, and then I’ve tried a variety of methods of getting the data to the character class. Casting to character class from HUD, casting to HUD from character class, using an event and transferring the data through it etc. I’ve also put breakpoints on the nodes in the HUD and it is generating proper coordinates.

Any ideas for how to debug this?

Many thanks!

Made a player controller blueprint, made a function in that- which used getHUD node, cast from that to HUD blueprint, returned the variable. Called that function by casting to player controller from character bp.