What Is a Mask in After Effects?
Adobe describes a mask as a path used to change a layer's properties, most often its alpha channel, which decides how transparent each pixel is[1]. In plain words: you draw a shape on a layer and After Effects shows what is inside and hides the rest, or the other way round.
Two rules save beginners hours. First, only a closed path can make part of a layer transparent. Open paths are still useful, but only as inputs for effects such as Stroke or Path Text[1]. Second, a mask lives on one layer. If you want one layer to cut another, you need a track matte, which we cover below.
If you have used masks in Photoshop, the idea is the same; our Photoshop layer mask guide is a good warm-up. Shape layers and masks share the same path tools, explained in our After Effects shape layers guide.
The Mask Settings That Matter
| Setting | What it does (Adobe Help, checked 30 November 2026) | When you use it |
|---|---|---|
| Mask mode | Controls how masks on the same layer combine. Default is Add. Modes cannot be keyframed[1] | Subtract to cut a hole, Intersect to keep only the overlap |
| Mask Feather | Softens the edge. A feather of 25 spreads 12.5 pixels inside and 12.5 outside the edge. Press F to show it[1] | Soft vignettes, natural-looking reveals |
| Mask Expansion | Grows or shrinks the visible area without changing the path itself[1] | Pull an edge in by a few pixels to hide a halo |
| Mask Path | The shape itself. Add keyframes to it to follow a moving object | Hand masking when an object moves |
| Mask colour | Each mask path can have its own colour in the Composition panel[1] | Telling many masks apart on one layer |
How to Mask a Moving Object
- 1Draw the mask on the first frame
Use the Pen tool to draw a closed path around the object. Fewer points are easier to animate.
- 2Set a Mask Path keyframe
Open the mask properties in the Timeline and click the stopwatch next to Mask Path.
- 3Move a few frames and adjust
Go forward 5 to 10 frames, drag the points to fit the object again. A new keyframe is added.
- 4Check the in-between frames
Scrub through and add keyframes only where the mask slips.
- 5Soften and expand
Add a little Mask Feather and adjust Mask Expansion so the edge looks natural.
For objects that move a lot, tracking saves time. Our After Effects motion tracking guide shows how to make After Effects follow a point for you. For people and complex shapes, see the AI tools section below.
Track Mattes: The Tool Behind Text and Logo Reveals
A track matte lets one layer show only through the shape of another layer. A classic example from Adobe's help: a text layer used as a matte for a video, so the video plays only inside the letters[2].
- 1Show the Modes column
If you cannot see it, right-click the Timeline header and choose Columns > Modes[2].
- 2Pick the matte layer
On the layer you want to cut, use the Layer List dropdown in the Modes column, or drag its pick whip to the matte layer[2].
- 3Choose Alpha or Luma
Use the toggle switches for Alpha or Luma and for normal or inverted[2]. Alpha uses the matte's transparency; Luma uses its brightness.
- 4Animate the matte
Move or scale the matte layer to make a traveling matte, for example text sliding up from behind a line.
Adobe's page also notes that any layer, wherever it sits in the stack, can be a track matte and several layers can use the same one[2]. This is the method behind most kinetic typography in After Effects and many logo animation in After Effects reveals.
After Effects Mask Not Working? Check These First
| Problem | Likely cause | Fix |
|---|---|---|
| Mask draws but nothing is hidden | The path is open, or the mask mode is None | Close the path and set the mode to Add |
| Hole does not appear | Second mask is set to Add | Set it to Subtract |
| Feather edge looks cut | Mask is too close to the layer edge | Shrink the mask or enlarge the layer |
| Track Matte menu missing | Modes column is hidden | Right-click the Timeline header > Columns > Modes |
| Mask slips on moving footage | Too few Mask Path keyframes | Add keyframes where it slips or use tracking |
Why Studios Expect You to Know Masking
Open any brand reel on Instagram and count the reveals: text rising from behind a line, a product appearing through a shape, a phone screen replaced with a new app design. Each one is a mask or a track matte. In a Delhi studio, a motion designer who cannot mask cleanly gets stuck on the first real job.
- Project 1: Text reveal. Make a 5-second title where each word rises from behind a line using a track matte.
- Project 2: Screen replacement. Film a phone, mask the screen and place a new app design inside it.
- Project 3: Shape transition. Use animated masks to wipe from one scene to the next in a 15-second ad.
Worked example for Project 1: create a text layer, then a shape layer rectangle that covers only the area above a thin line. Set the text layer's Track Matte to the rectangle with Alpha. Keyframe the text Position from below the line to its place over 12 frames, add Easy Ease and the word appears to rise out of nothing. Repeat with a 3-frame delay for each word.
AI and Agentic AI in Masking
Rotoscoping, the slow job of masking a person frame by frame, is where AI helps most. Adobe's help page describes Next-Gen Roto Brush, powered by a new AI model and AI-powered Object Matte tools that select a subject, refine it and carry the result across frames[3].
The motion designer still checks hair, hands and fast motion, fixes the edges by hand and decides how the masked subject fits the design. CABA's courses now teach AI and agentic AI workflows inside the curriculum, with that human check built in.
Motion Graphics Pay in Delhi NCR
| Stage | Motion graphics designer pay per month (Delhi NCR) |
|---|---|
| First job | ₹15,000 to ₹18,000 |
| After 6 months | ₹22,000 to ₹25,000 |
| After 1 year | ₹28,000 to ₹32,000 |
| After 3 years | ₹40,000 to ₹45,000 and up |
Why 1-to-1 Training Helps With Masking
Masking is easy to understand and hard to do well. Most problems are small: a feather in the wrong place, a matte set to Luma instead of Alpha, keyframes that drift. In 1-to-1 training a trainer sees your screen, spots the slip in seconds and shows the fix, so you do not lose a whole evening to it.
Our motion graphics course in Delhi teaches After Effects from masks and mattes to full ad projects, with AI tools inside the workflow. It carries a 100% Job Guarantee; see the job guarantee page. Call 98117 46259 or read the full motion graphics course details. If editing is your starting point, our guide to a video editing course with AI shows how the two skills connect.
Frequently Asked Questions
What is masking in After Effects?
Masking means drawing a path on a layer to control which part of it is visible. Closed masks change the layer's transparency and you can soften, expand and animate them.
How do I mask a moving object in After Effects?
Draw a mask on the first frame, set a keyframe on Mask Path, then move forward a few frames and adjust the points. For people and complex objects, Roto Brush and Object Matte tools are faster.
What is the difference between a mask and a track matte?
A mask is a path inside one layer. A track matte uses another whole layer, such as text or a shape, to decide where a layer shows.
Why is my After Effects mask not working?
Common causes are an open path, a mask mode set to None, a second mask on Add instead of Subtract or a feather running past the layer edge.
Where is the Track Matte option in After Effects?
In the Modes column of the Timeline. If the column is hidden, right-click the Timeline header and choose Columns > Modes.
References
- Use alpha channels, masks and mattes in After Effects- Adobe Help Center
- Track Mattes and Traveling Mattes- Adobe Help Center
- Roto Brush and Refine Matte in After Effects (updated April 2026)- Adobe Help Center





