Record Lines C++

Which is the best method to capture lines in UE4? I have tried Particle Systems and batch lines
Anyone?