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

Yes I have the thirdperson BP in the world as well as the another actor that has the spline generator bp