 Hello everybody, welcome back to another After Effects tutorial and this one is going to show you how to animate a line forward and I'll show you how to animate it backwards as well. Let's start from scratch. Okay, we've got a new composition here. Just grab your pen tool, make sure that the fill is set to zero. Just click here and make sure that line's through there and then set your stroke to 20 pixels or whatever you like as well as the color. You can just click on them and change them as you see fit. Now I've got the pen tool selected, I'm going to click a point here and then I'm going to hold down shift and click a point there so I've got a straight line. Okay, good. All right, just make sure I move my playhead back to the beginning. Now let's dig in. We're going to drop this triangle here and beside contents you're going to see the add with the triangle there. Click on it and then grab the trim paths option. That was a mouthful. Under trim paths now you can go ahead and click on this little triangle here and this is all you need to do. Just make sure your play is at the beginning. Drag the end from 100% to 0% and then click on this stopwatch. So what it's basically doing is the path has a 0% beginning and then let's say at 2 seconds we've got it up to 100% and then at 4 seconds we'll drag it down to 0%. This is it. Now I'm just going to go ahead and show you. Boom. Animated line. That's it guys. Thanks for watching.