No history yet

Introduction to Masking

What Is a Mask?

Think of a mask like a stencil or painter's tape. It's a tool that lets you define which parts of a layer are visible and which parts are hidden. When you apply a mask to a layer in After Effects, you're essentially drawing a boundary. Everything inside that boundary can be seen, while everything outside of it becomes transparent.

This simple concept is incredibly powerful. Instead of affecting an entire layer, masks give you precise control to isolate specific areas. You can draw any shape you want—from simple circles and squares to complex, custom outlines around objects. This is the foundation for many visual effects and motion graphics techniques.

Common Uses for Masks

Masks aren't just for hiding things; they're essential for a wide range of tasks. You might use a mask to:

  • Isolate an object: You can carefully draw a mask around a person or object to separate it from its background. This is a fundamental step in compositing, where you combine elements from different shots.
  • Apply effects selectively: Want to blur someone's face or change the color of just one object in a scene? A mask allows you to apply an effect to a specific area of your layer, leaving the rest untouched.
  • Create reveals and transitions: By animating a mask's shape over time, you can make text, logos, or video clips appear or disappear in creative ways. Imagine text being “written” on screen—that’s often done with an animated mask.
  • Build complex shapes: You can combine multiple masks on a single layer to create intricate shapes that would be difficult to make otherwise. For example, you could cut a hole in a circle by placing a smaller circular mask inside it and setting it to subtract.

Masking is your tool for controlling exactly what the viewer sees, and what they don't.

Basic Mask Properties

Every mask you create has a set of properties you can adjust to change its appearance and behavior. When you select a mask, you'll find these key options in the timeline:

PropertyWhat It Does
Mask PathThis defines the shape of the mask. You can move the individual points (vertices) of the path to change the shape at any time.
Mask FeatherThis softens the edges of the mask, creating a smooth gradient between the visible and transparent areas. A higher value means a softer edge.
Mask OpacityControls the transparency of the area inside the mask. At 100%, it's fully opaque. At 0%, it's completely transparent.
Mask ExpansionThis allows you to grow or shrink the entire mask without manually moving each vertex. Positive values expand the mask, while negative values contract it.

All of these properties can be animated over time by setting keyframes. This is how you create dynamic effects, like an object slowly fading into view (by animating Mask Opacity) or a reveal that follows a moving shape (by animating the Mask Path).

Understanding these fundamentals is the first step. By mastering how to create and modify basic masks, you unlock a huge part of what makes After Effects such a versatile tool for motion designers and visual effects artists.