help with hud

so im using ue4 for this and i have some variables in a pawn thats the thing to keep it alive and i cant remember or find how to cast to that pawn to get those variables and display them for me on the screen to chech if the code works

edit:ok have it