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

If possible can you explain what all things you used here ? From my understanding you created a static mesh box and a wireframe material. Or the wireframe material itself is a static mesh ??

Thanks for your time and information