
A line that draws itself, a route growing across a map, a logo drawn on screen… In After Effects, all of these are made with Trim Paths. What’s more, you don’t need a plugin. In this post, we build a self-drawing line in 4 steps. Then we cover a moving tail, a loop and drawing on logos and text.
Let us animate your logo
We make short videos that bring your logo, icons and text to life. Using After Effects? Try the light runner in our free Motion Suite extension. If you’d rather leave it to us, get a quote.
In short
3
Trim Paths settings: Start, End, Offset
0% → 100%
drawing with End
2
options for trimming several paths
Trim Paths is a shape layer operation that shows only part of a path. Start sets where the line begins. End sets where it stops. Both are percentages. Offset, on the other hand, slides the visible part along the path.
So when you keyframe these settings, the line comes to life. According to Adobe’s page on shape operations, the result is similar to the Write-on effect.
First, with no layer selected, draw a path with the Pen Tool (G). This creates a new shape layer. Then turn Fill off and Stroke on in the toolbar. Set the thickness with Stroke Width. Also, set Line Cap to Round Cap for rounded ends.
Next, click the Add button on the layer’s Contents row. Choose Trim Paths from the list. Trim Paths affects the paths in the group it’s added to.
Now set two keyframes on End inside Trim Paths. For example, 0% at 0 seconds and 100% at 1 second. Then select both keyframes and apply Easy Ease (F9). This way, the line starts and ends smoothly. To fine-tune the speed, see our post on easing.
If the line starts from the wrong end, reverse the path. To do this, use the direction button (Reverse Path Direction) on the Path row. Also, if the layer has several paths, check Trim Multiple Shapes:
| Option | What it does |
|---|---|
| Simultaneously | Draws all paths at the same time |
| Individually | Draws paths one after another |

This time, keyframe Start as well. But let Start begin a little after End. For example, End goes from 0% to 100% between 0 and 1 second. Start makes the same move between 0.3 and 1.3 seconds. As a result, the line enters at one end, travels and leaves at the other.
Want a light running around a closed shape, such as a circle? Set Start to 0% and End to 20%. Then Alt-click the stopwatch on Offset (Option on a Mac) and paste this code:
speed = 180; // degrees per second
time * speedThe short segment now spins around the shape forever. Offset works as an angle. So 360 degrees is one full turn. We cover other ways to loop in our post on loopOut.
You can also taper the end of the line. In the Taper section under Stroke, raise Start Length and End Length. These settings are covered on Adobe’s Taper page. In the same section, Wave adds waves to the line.
Since Trim Paths only works on shape layers, convert logos and text first:
Then add Trim Paths to the top group. Want the letters drawn one by one? Set Trim Multiple Shapes to Individually. If the logo has a fill, draw the line first. Then bring in the fill by raising its Opacity from 0 to 100.
Our Motion Suite extension has a “Light Runner” look in its Glow tool. It adds a light that travels along the edge and leaves a fading tail. On shape and text layers, it takes the path straight from the vectors, using Trim Paths. Also, the “Neon Frame” look wraps the whole edge in a steady line of light. Motion Suite is free until 5 January 2027.
Stroke may be off. Or the Stroke Width may be too thin. So first make sure Stroke is on.
The layer isn’t a shape layer. Convert the text or Illustrator file to a shape layer first.
Trim Multiple Shapes is set to Simultaneously. To draw the paths one by one, choose Individually.
The path runs the other way. Flip it with the direction button (Reverse Path Direction) on the Path row.
We are an agency based in Ankara. Design, animation and editing are done by the same team. The work moves in three steps:
The quote states the price based on the scope of the job. Need a shoot too? Shooting, editing and 3 rounds of revisions start at 15,000 TL + VAT.
Not directly. First convert the text with Layer › Create › Create Shapes from Text. Then add Trim Paths.
Short usually works best. For a logo draw-on, 1–2 seconds is often enough. For long lines, you can add a little more time.
Yes. Select Offset and run Animation › Keyframe Assistant › Convert Expression to Keyframes. Then you can edit the keyframes by hand.
No. Motion Suite is free until 5 January 2027. Sign in with your Google account on the app page and download it.
Let’s draw your logo on
Tell us in a few sentences where the animation will be used. We will agree on the scope and send a written quote. For details, see our Video Production page.





Comments are closed