What are the methods avaiable to draw lines in unreal engine?

You can’t convert it like this. If the Component is at 25000, 25000, 0 and you point the camera there, you can see it in the viewport, sure. But if you try to draw a pixel at 25000, 25000 - there is no such pixel. Your monitor’s X ends at what - 1920 or 3440?

Try this:

There’s 3 or more nodes that do almost the same thing.