How can I draw a spline drawn by the player's movements?

Thanks a lot dude! I will dig more unto this. Will definitely check procedural mesh.