After Effects

How to Mask in After Effects (4 Simple Steps)

2 mins

|

May 29, 2025

How to Mask in After Effects (4 Simple Steps)
  1. 1. Select the Layer You Want to Mask
  2. 2. Choose a Masking Tool
  3. 3. Adjust Your Mask Settings
  4. 4. Apply Effects Inside or Outside Your Mask
  5. Frequently Asked Questions
  6. Spotlight FX - Get free transitions, effects and workflow tools

Trying to isolate part of your footage or apply an effect to just one area? That’s where masking comes in. Whether you're cutting out a shape or focusing an effect on one region, masks let you control what’s visible and where effects show up.

Here’s how you can create and use masks in After Effects without getting overwhelmed.

1. Select the Layer You Want to Mask

Start by choosing the layer you want to apply the mask to. This could be a video clip, solid, image, or even a text layer.

Click on the layer in your timeline so it’s active before you draw anything. If no layer is selected, After Effects will create a new shape layer instead of masking your existing one.

2. Choose a Masking Tool

You have two main options:

  • Shape Tools (Rectangle, Ellipse): Great for simple geometric masks.
  • Pen Tool: Best for custom shapes or detailed cutouts.

You can find both tools in the top toolbar. To access them quickly:

  • Shortcut for Shape Tool: Q (Windows and Mac)
  • Shortcut for Pen Tool: G (Windows and Mac)

Click and drag on your composition panel to draw the mask. If you're using the Pen Tool, click points around your subject to outline it manually.

3. Adjust Your Mask Settings

Once your mask is drawn, expand the layer dropdown in the timeline and open the “Masks” section.

Here you can adjust:

  • Mask Path: Change or animate the shape.
  • Mask Feather: Soften edges.
  • Mask Opacity: Control transparency.
  • Mask Expansion: Grow or shrink the area.

You can also change the mask mode from “Add” to “Subtract” if you want to hide instead of reveal that area.

4. Apply Effects Inside or Outside Your Mask

To limit an effect only within your masked area:

  1. Apply your effect as usual.
  2. In the Effect Controls panel, find “Compositing Options.”
  3. Click “+” next to “Mask Reference.”
  4. Choose your mask from the dropdown list.

Now that effect will only appear inside (or outside) that specific mask based on its mode.

Frequently Asked Questions

What is the shortcut for mask in After Effects?

There isn’t a single shortcut just for creating a mask, but you can use tool shortcuts:

  • Press Q (Windows and Mac) to cycle through shape tools like Rectangle or Ellipse.
  • Press G (Windows and Mac) for the Pen Tool used for custom masks.

How do I turn a layer into a mask?

To use one layer as a mask for another:

  1. Place it directly above your target layer.
  2. Right-click on the lower layer and choose “Alpha Matte [Layer Above]” under Track Matte.
  3. The top layer now acts as a mask based on its shape or transparency.

How to do a clipping mask in After Effects?

After Effects uses Track Mattes instead of clipping masks:

  1. Put your masking layer above your content layer.
  2. On your content layer, set Track Matte to “Alpha Matte.”
  3. The content will only show where the top layer is visible.

How do you apply effect only to mask?

To apply an effect inside just one masked area:

  1. Add a mask on your layer.
  2. Apply any effect from the Effects panel.
  3. In Effect Controls, open “Compositing Options.”
  4. Enable “Mask Reference” and select your desired mask.

This keeps effects limited to that specific region only.

After Effects
How to Move Anchor Point in After Effects
Need to reposition the anchor point in After Effects? This guide shows you how to move it freely without affecting your object’s position. Perfect for adjusting rotation, scaling, or animation pivots.

2 mins

After Effects
How to Crop in Adobe After Effects 2025
Trying to crop a video, image, or clip in After Effects? This beginner-friendly guide walks through four different ways to crop footage step by step, including tips, tools, and shortcuts every editor should know.
Denis Stefanides

Denis Stefanides

4 mins

After Effects
How to Cut a Clip in Adobe After Effects 2025
Confused by how cutting works in After Effects? This beginner-friendly guide walks you through the right way to split, trim, and isolate clips using keyboard shortcuts, masks, and pre-comps. Ideal for editors switching from Premiere Pro or anyone new to AE's layer-based workflow.
Denis Stefanides

Denis Stefanides

8 mins