Question: How to animate plot of moving points with lines drawing in trace

Hi, I have animated plot visualizing the moving of point from location a to location b. I need line to be plotted in trace of moved point in area. Please see the code that I implement below. Many Thanks

restart:
with(plots):
with(Statistics):
L:=[[0],[34,7],[39,8,6], [45,2,3,7]]:
animate(( PointPlot, [L[trunc(t)]], t=1..3, frames=50), symbol=solidcircle,symbolsize=40);

Please Wait...