How to animate a line that erases itself?
Hello guys. I'm trying to animate a line that "erases" itself once the shape is fully shown. Once I do it, I want to loop that effect. Like this:


and then come back to erase the line again, as in frame 1
The first keyframes at the Trim Path bar are set to 0 at the beggining, then the second keyframe at 100. I tried to low the third keyframe to 0 again, but it caused a totally unwanted effect, as shown below

What should I do to achieve the effect I want?
