How to draw line on hud from player BP?

I’ve tried running this from my player character blueprint but it didn’t work, I simply want to draw a line on HUD, do I really need to create new HUD class for it?