I want to draw a solid line instead of a dotted line.

I’m trying to implement a drawing feature in UE5.However, the line appears as discrete points instead of a continuous stroke.How can I make the line look smooth and connected? I used this video as a reference.