The code draws a line on the path of the tracked object.