Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Our second Quizzler involves how do you draw a line around a mask path? The answer is you use the Stroke effect, which we already showed you earlier. I'll open up the comp Stroke play. Click on the layer leaf shapes that has my mask paths on it. I'll press E to reveal the Effects and there's the Stroke effect. I'll twirl it down and you can see with animated the end position from 0 to 100. That way the stroke will draw along the mask path.
You can also just scrub it to see what it does. Now turn off the mask path visibility so you can see things more clearly now and there is our stroke. Now, how would you get this to draw in the opposite direction? Well, you might say animate and backwards, but no, that just draws it or off. The solution is actually to animate the start rather than animating the end. You'll see if you just scrub Start by itself. It keeps animating in the same direction. However, if we were to start at 100 and go backwards, ohhh! That's how we go into the opposite direction, all right.
So let's start Start and End both at 100%, then animate Start back down to 0. That's how we get the stroke to draw in the opposite direction. The moral of the story is don't be afraid to play around with parameters and think outside the box. Not everything goes from 0 to 100. Sometimes you need to animate things from 100 to down to 0 to make them go in the opposite direction than the effect was originally designed to do. Now, the final question was how do you get this to start drawing from a different location? Right now it's starting from base of the stem.
What if you want to start drawing from the very top of that maple leaf? I'm going to turn on my Mask Path Visibility, so I can see that while I'm playing around. Well, the answer is the first vertex. The first vertex controls not only the way masks are animated but also the way effects draw around a mask path. Now let's just select the top one up here, right-click on it, and choose Mask and Path Shape > Set First Vertex, go to my second keyframe, I'll press U to reveal all my keyframes.
Use the Keyframe Navigator to go to my second mask keyframe, click the top of the oak leaf, right-click, and choose Set First Vertex. Now I see that my mask path indeed animates from the top of the leaf and goes around the leaf, depending on how I've animated the Start and End parameters. So two things to remember. Don't be afraid to play around with both start and end strokes on things such as scribble, stroke, etcetera, and two, don't forget that first vertex point.
That one is really important when it comes to deciding how effects animate around mask paths.
Get unlimited access to all courses for just $25/month.Become a member
93 Video lessons · 25366 Viewers
135 Video lessons · 60295 Viewers
79 Video lessons · 19933 Viewers
350 Video lessons · 105228 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.