Skip to main content

What is the Difference Between Track Matte and Mask in Adobe After Effects CC

After Effects

At first glance, track mattes and masks in After Effects seem like they do the same thing. Both cut out portions of a layer to reveal what is underneath. In many cases, using either one will give you the same visual result. But they differ in one critical way that makes each one better suited for different situations.

Understanding this difference will save you a lot of frustration and help you choose the right tool for the job. Let’s break it down.

The Key Difference

  • A mask is attached to a specific layer. It moves with that layer. If you move, rotate, or scale the layer, the mask goes with it. Think of it as cutting a hole in a piece of paper. No matter where you move the paper, the hole comes with it.

  • A track matte is independent of the layers it affects. It stays in place regardless of what happens to the layers below it. Think of it as placing an opaque card on a table. Any paper you slide underneath will be hidden behind the card. The card does not move just because the papers do.

When to Use a Mask

Masks are best when the cutout needs to travel with the layer. Common examples:

  • Rotoscoping. Drawing around a person to separate them from the background. The mask needs to follow the person as they move.
  • Vignettes. Adding a soft oval mask to darken the edges of a layer. The vignette should stay centered on the layer no matter where it is positioned.
  • Shape reveals on a single element. If you want to crop a layer to a specific shape and that shape should always be relative to the layer’s content.

How to Apply a Mask

  1. Select the layer you want to mask.
  2. Use the Pen Tool or a shape tool (Rectangle, Ellipse) to draw directly on the layer.
  3. The mask appears in the layer’s properties under Masks. You can adjust the path, feather, opacity, and expansion.
  4. The mask will move, rotate, and scale with the layer.

When to Use a Track Matte

Track mattes are best when you want a fixed “window” that layers move through. Common examples:

  • Text reveals. You have text sliding in from off-screen and you want it to appear from behind an invisible line. The text moves, but the reveal point stays fixed. This is exactly how a text reveal animation works.
  • Window effects. Showing footage through a shape, like video playing inside the letters of a word.
  • Transition wipes. An animated shape that reveals the next scene as it moves across the frame.

How to Apply a Track Matte

  1. Create the shape or layer you want to use as the matte on the track directly above the layer you want to affect.
  2. On the layer you want to cut, find the Track Matte dropdown in the timeline (you may need to toggle the Switches/Modes panel to see it).
  3. Select Alpha Matte (uses the matte layer’s transparency) or Luma Matte (uses the matte layer’s brightness).
  4. The matte layer will become invisible, and the layer below it will only be visible where the matte exists.
  5. You can now animate the content layer independently. The matte stays in place.

Quick Comparison

FeatureMaskTrack Matte
Attached to layerYesNo (independent)
Moves with layerYesNo (stays in place)
Best forRotoscoping, vignettes, layer shapesReveals, windows, transitions
Applied howDraw directly on layerSeparate layer above

Tips

  • If you are animating a layer through a reveal point, use a track matte. Trying to do this with a mask means you have to counter-animate the mask to keep it stationary, which is tedious and error-prone.
  • If you need the cutout to travel with the content, use a mask. A track matte would stay behind as the layer moves.
  • You can animate both. Masks can have animated paths (useful for rotoscoping). Track mattes can be animated shapes (useful for transition wipes).
  • Check out animated shape borders in After Effects for creating animated shapes that work great as track mattes.

That is the difference between track mattes and masks in After Effects. Same general concept, but the way they relate to the layer they affect is fundamentally different. Understanding this will help you pick the right tool every time.