Skip to main content
March 23, 2026Tziporah Zions/8 min read

Trim Paths in After Effects

Master liquid animations with After Effects Trim Paths

Essential After Effects Tool

Trim Paths is a fundamental animator in After Effects that manipulates shapes and lines for transition and liquid animations. It works exclusively with Shape Layers that have a Stroke applied.

Primary Use Cases for Trim Paths

Liquid Animations

Create flowing liquid effects like pouring water or lemonade. Perfect for beverage commercials and fluid motion graphics.

Transition Effects

Smooth transitions between scenes or elements. Use as punctuation to emphasize other movements on screen.

Text Animations

Apply to text converted to shape layers. Creates dynamic writing or drawing effects for typography.

Download Project Files here: Project Files.

Intro

Trim Paths is one of those deceptively simple tools that separates novice motion designers from professionals who understand After Effects at a deeper level. This powerful shape manipulation feature serves as the backbone for countless animation techniques—from elegant transitions to complex liquid simulations. While many animators overlook its potential, mastering Trim Paths opens the door to sophisticated effects that would otherwise require complex expressions or third-party plugins. In this tutorial, we'll explore its practical application through a liquid animation that demonstrates both fundamental principles and professional implementation strategies.

Overview

Our approach follows industry-standard workflow practices that you'll encounter in professional studios. We'll begin by establishing a properly organized shape layer with descriptive naming conventions that scale to larger projects. Next, we'll construct our liquid shape using precise bezier curve techniques, ensuring smooth motion paths that render efficiently. Finally, we'll implement the Trim Paths animator with strategic keyframe placement and easing that creates natural, physics-based movement. This methodology ensures your animations maintain professional quality while remaining performant across different output formats and playback systems.

Creating the Shape

Proper asset organization forms the foundation of professional motion graphics work. Let's establish our shape layer with industry-standard practices in mind.

  1. Navigate to the top menu bar and select Layer > New > Shape Layer to create a new vector-based animation element.
  2. Drag this layer beneath the Pitcher layer in your timeline to establish proper layering hierarchy for the pouring effect.
  3. Press Return (Mac) / Enter (PC) to rename the layer. Use the descriptive name Lemonade Liquid to maintain clear project organization.
  4. Click the colored square beside the layer name and select Yellow for visual differentiation in complex compositions.
  5. Select the Pen Tool from the toolbar, which provides the precision needed for smooth liquid motion paths.
  6. In the toolbar options, click Fill and select the No Fill option (the box with a diagonal strike-through).
  7. This ensures our liquid appears as a flowing line rather than a solid shape.
  8. Click on Stroke and select the Solid Color option (second box from the left).
  9. Click the color box adjacent to Stroke to open the color picker.
  10. Enter the hex value #FCFEC8 for a natural lemonade color, or select a complementary light yellow that matches your composition's color palette.
  11. Click OK to confirm your color selection.
  12. Set the Stroke Width to 30 pixels using the field immediately right of the stroke color. This width provides good visibility while maintaining smooth animation performance.
  13. Move your Playhead to 0;00;01;00 to reference the pitcher's position during the pouring motion.
  14. In the composition window, create a three-point bezier curve from the liquid source, through the pitcher spout, to the destination container. Click and drag each point to generate bezier handles for smooth, natural curve transitions.
  15. Expand the Lemonade Liquid layer properties by clicking the arrow beside the layer name.
  16. Expand Contents to access shape properties.
  17. Expand Shape 1 to reveal individual shape elements.
  18. Expand Stroke 1 to access stroke-specific settings.
  19. Locate Line Cap settings and change to Round Cap for natural liquid droplet endpoints that enhance realism.

Animating the Liquid

Now we'll implement the Trim Paths effect using keyframe strategies that create convincing liquid physics. Professional liquid animation relies on carefully timed reveals that mimic natural flow dynamics.

  1. With the shape properties expanded, locate the Add button in the upper right corner of the layer contents panel.
  2. Click Add and select Trim Paths from the dropdown menu.
  3. Expand the newly added Trim Paths section to access animation parameters.
  4. Position your Playhead at 0;00;00;21 to establish the liquid's initial state.
  5. Click the stopwatch icon beside End to enable keyframe animation.
  6. Set the End value to 0, ensuring the liquid starts completely hidden.
  7. Move the Playhead to 0;00;01;04 for the liquid's full reveal timing.
  8. Change the End value to 100, allowing the complete liquid path to become visible.
  9. Click the stopwatch beside Start to begin the liquid's disappearance animation.
  10. Confirm the Start value is set to 0 at this position.
  11. Advance the Playhead to 0;00;01;12 for the liquid's exit timing.
  12. Set the Start value to 100, creating the effect of liquid flowing away from the source.
  13. Select all keyframes by dragging a selection box around them or Shift-clicking each keyframe.
  14. Right-click any selected keyframe to access keyframe options.
  15. Navigate to Keyframe Assistant > Easy Ease to apply natural acceleration and deceleration curves.
  16. Collapse the Lemonade Liquid layer properties to clean up your timeline view.
  17. If switches aren't visible, click Toggle Switches/Modes at the bottom of the timeline panel.
  18. Enable Motion Blur by clicking the three-circle icon on the Lemonade Liquid layer. This adds realistic blur during movement, enhancing the liquid's natural appearance.

Conclusion

You've now mastered a fundamental technique that professional motion designers use across countless projects. The beauty of Trim Paths lies not just in its simplicity, but in its versatility and integration potential with more complex animation systems.

Trim Paths serves as a building block for sophisticated motion graphics workflows. Consider implementing this technique for logo reveals, where text or graphic elements can appear to draw themselves onto screen. It's equally powerful for creating transition effects that connect disparate scenes, providing visual continuity that keeps viewers engaged. In UI/UX animation, Trim Paths can simulate loading states or progress indicators with organic, hand-drawn aesthetics. The technique scales beautifully from simple line animations to complex organic shapes, making it invaluable for both broadcast graphics and digital interface design. Remember that any Shape Layer with a Stroke can utilize this effect—including converted text layers, imported vector graphics, and procedurally generated shapes.

As you continue developing your motion graphics expertise, experiment with combining Trim Paths with other After Effects tools like expressions, particle systems, and 3D layers to create truly unique visual experiences.

Happy animating!

Credits

Orange vector created by freepik—www.freepik.com

Food vector created by freepik—www.freepik.com

Background vector created by brgfx—www.freepik.com

Background vector created by vectorpocket—www.freepik.com

Video Transcript

Hi everyone, it's Tziporah Zions. We're going to be learning how to create a Trim Paths animation today, which is incredibly useful for animating liquid effects and essential for transition animations. So the first thing we'll do is navigate to the top toolbar, go to Layer, New, Shape Layer, and we'll press Return on Mac or Enter on PC to rename our selected layer.

We'll call this "Lemonade Liquid" and click on the colored square to make it yellow, differentiating it from our other layers. Let's click and drag it in the layer stack to position it below the pitcher layer. Now, back up to the toolbar—we're going to use the Pen tool. Make sure Fill is set to "No Fill" by clicking your fill options and selecting the box with the strike-through for no fill. For Stroke, if it's not already set to color, click the solid color box and choose your color by clicking this color picker.

If it's not already a light yellow, navigate through the color picker to select yellow, or input the hex value we discussed. Finally, set the stroke width to 30 pixels. Now that everything's configured, let's move our playhead to about one second in so we can visualize where the pitcher will be positioned during the pour.

We're going to draw our liquid path starting from just below the liquid line in the pitcher. I'll click and drag to create one point, then click and drag for another point—the software automatically creates bezier curves as we draw. Then I'll add another point directly into the receiving container. If I want to adjust the curve, I can modify these points and their handles to perfect the liquid flow path.

Now we need to adjust some stroke settings. Toggle open the Lemonade Liquid layer, then Contents, then Shape 1, then Stroke 1. Where it says Line Cap, change that setting to Round Cap for more natural-looking liquid endpoints.

Now for the animation phase. I'm going to locate the Add button within these layer settings for our liquid layer, and we'll find Trim Paths—this is our primary animation tool. Let's expand Trim Paths to access its parameters. We'll position our playhead at around 21 frames and start animating the End property first. Let's set a keyframe by clicking the stopwatch and change the End value to zero.

Next, let's move the playhead to one second and four frames, then change the End value to 100. Now let's set a keyframe for Start by clicking its stopwatch, ensuring it's set to zero if it isn't already. Then we'll advance to one second and 12 frames and change the Start value to 100.

Let's select all our keyframes by marquee selection, right-click on them, and go to Keyframe Assistant, Easy Ease to smooth our animation curves. Finally, let's collapse all those layer options and access our switches. If switches aren't visible, toggle Switches/Modes. We'll enable Motion Blur by clicking the motion blur icon, which adds realistic blur as our liquid moves.

That's the complete process—a relatively simple but powerful effect that opens up numerous creative possibilities. I hope you find this technique as useful as I do. This has been Tziporah from Noble Desktop.

Complete Trim Paths Animation Workflow

1

Create Shape Layer

Navigate to Layer > New > Shape Layer. Rename to 'Lemonade Liquid' and assign yellow color for organization.

2

Configure Pen Tool Settings

Set Fill to No Fill, Stroke to Solid Color #FCFEC8 (light yellow), and Stroke Width to 30px for optimal visibility.

3

Draw Liquid Path

Use Pen tool to create curved path with approximately 3 points from liquid source to destination. Utilize bezier handles for smooth curves.

4

Set Round Line Caps

In Shape Layer contents, navigate to Stroke settings and change Line Cap to Round Cap for professional appearance.

5

Add Trim Paths Effect

Click Add button in layer contents and select Trim Paths. This creates the core animation functionality.

6

Animate End Property

At 0:00:00:21, set End keyframe to 0%. At 0:00:01:04, change End to 100% to create drawing-on effect.

7

Animate Start Property

At 0:00:01:04, set Start keyframe to 0%. At 0:00:01:12, change Start to 100% to create drawing-off effect.

8

Apply Smooth Animation

Select all keyframes, right-click, and apply Easy Ease through Keyframe Assistant for natural motion curves.

Essential Settings Verification

0/5
Professional Enhancement Tip

Enable Motion Blur on the animated layer to add realistic blur during movement. This small detail significantly improves the professional quality of your liquid animations.

Animation Timing Structure

0:00:00:21

Animation Start

Set End property to 0% - liquid begins invisible

0:00:01:04

Full Reveal

End property reaches 100% - complete liquid path visible

0:00:01:04

Disappear Begin

Start property begins at 0% - liquid starts disappearing

0:00:01:12

Complete Disappear

Start property reaches 100% - liquid fully invisible

Key Takeaways

1Trim Paths is a Shape Layer animator in After Effects used primarily for liquid animations and transition effects
2The effect requires a Shape Layer with a Stroke applied - it cannot work with Fill-only shapes
3Two key properties control the animation: Start and End values, both ranging from 0% to 100%
4Proper timing involves animating End first (reveal), then Start (conceal) with slight overlap for smooth flow
5Essential settings include 30px stroke width, Round Line Caps, and light yellow color (#FCFEC8) for visibility
6Easy Ease keyframe interpolation creates natural acceleration and deceleration for professional results
7Motion Blur enhancement adds realistic movement blur that significantly improves visual quality
8The technique works on any Shape Layer with Stroke, including converted text layers for typography animations

RELATED ARTICLES