How to draw a Path in Realtime?

I think it would work the same. Been awhile but I think I did what you said when I was working on this.