To have the line progressively draw itself on, we'll use the Sequence Replicator behavior. The Sequence Replicator behavior is similar to the Sequence Text behavior -- it allows you to build the replicator pattern (our line) over time, as well as affecting other properties like color and position.
In this case, we want to have our line draw itself on, segment by segment, so we're going to use the behavior to animate the opacity of the replicator.
If you hit Play now, you'll see the line segments fading out over time. Since we want the opposite to happen, we'll change the Sequencing parameter from 'To' to 'From'. Also, we might not want the animation to happen so slowly, so we're going to trim the behavior, speeding up the sequence.
If you play back your project, you should see your line drawing on. You might notice, however, that each segment fades in, instead of popping in. This is because the Spread parameter of the behavior is set to 1, which means that there is a transition between the current replicator point and the next. Try changing the Spread to 6, and you'll see that the fading-up caused by going from 0% opacity to 100% opacity is spread out over 6 segments. In this particular case, though, we want the segments to pop on, one at a time, with no fading.
Setting the Spread to 0 means that the changes made by the behavior happen instantaneously, one segment at a time. If you play back your project, you should see something like this:
And there you have an animated treasure map line. Remember, one of the upsides of this method is that it allows for flexibility: if we want to change the length or path of the line, we just edit the original path shape we created (Line Path) and the replicator updates. We can also play with the Sequence Replicator behavior. Thus, with a just a couple of quick changes, we can end up with a variety of animated line treatments, all with little effort:
With the replicator, the possibilities are endless. Have fun out there!