Motion Graphics Term

Masking

A technique that controls which parts of a layer are visible, hiding or revealing specific areas through animated shapes.

What is Masking?

Masking is a fundamental compositing technique that uses shapes to control the visibility of layers, selectively showing or hiding portions of imagery. Masks define transparent and opaque regions, enabling complex compositions, isolated effects, and creative reveals. In motion graphics, masks are animated to create dynamic visual effects, transitions, and revelations.

Unlike simply cutting or cropping imagery, masks are non-destructive—the underlying content remains intact while masks control visibility. This flexibility allows infinite adjustment without permanently modifying source material. Masks can use hard edges for sharp cutouts or feathered edges for soft, gradual transitions between visible and hidden areas.

Professional motion graphics rely heavily on masking for countless applications: revealing text one word at a time, creating write-on effects, isolating subjects from backgrounds, building graphic elements progressively, creating custom transitions, and applying effects to specific regions. Mask paths can be drawn directly in the timeline, derived from text or shapes, or generated automatically through tracking or rotoscoping.

How Does Masking Work?

Masks are created by drawing path shapes (bezier paths) directly on layers in After Effects or similar software. The mask mode determines behavior—Add makes areas inside the mask visible, Subtract makes them invisible, allowing multiple masks to work together for complex shapes. Mask feathering controls edge softness. Mask opacity adjusts overall transparency. Animating mask paths over time creates movement—expanding, contracting, morphing shapes to reveal or conceal content dynamically. Masks can follow motion-tracked points, automatically adapting to moving subjects. Multiple layers often use coordinated masks to build complex composites—foreground elements masked to integrate with backgrounds, effects masked to apply only to specific regions.

Key Benefits and Importance

  • Non-destructive control over layer visibility
  • Precise isolation of subjects or regions
  • Dynamic reveals and transitions through animation
  • Selective application of effects to specific areas
  • Creative shape-based compositions
  • Essential tool for professional compositing workflows

Common Use Cases

  • Text reveals and kinetic typography effects
  • Isolating subjects for color grading or effects
  • Creating custom wipe transitions between scenes
  • Building graphics element by element
  • Vignettes and edge darkening
  • Rotoscoping for complex composites

Best Practices for Masking

1

Use feathering for natural, soft edges between visible/invisible areas

2

Animate mask paths with smooth bezier curves for fluid movement

3

Combine multiple simple masks rather than one complex mask

4

Use mask modes strategically—add, subtract, intersect for complex shapes

5

Remember masks follow layer transformations (position, scale, rotation)

6

Organization is critical—name masks clearly in complex projects

Industry Applications

Masking is ubiquitous across all motion graphics applications. Broadcast design uses masks for dynamic lower thirds and information graphics. Commercial advertising employs masks for product reveals and text animations. Film title sequences use sophisticated animated masks for stylized reveals. Social media content uses masks for attention-grabbing text treatments. Corporate videos utilize masks for professional graphics builds. Visual effects heavily rely on rotoscoping masks to integrate CG elements with live footage. Educational content uses masks to reveal concepts progressively. The technique is so fundamental that virtually no professional motion graphics project avoids masking entirely.

Technical Details

Masks in After Effects use bezier paths identical to shape and pen tools in Adobe Illustrator. Mask modes include Add, Subtract, Intersect, Lighten, and Darken, determining how multiple masks interact. Feathering applies Gaussian blur to mask edges, measured in pixels. Mask opacity controls overall transparency from 0-100%. Mask expansion contracts or expands mask boundaries uniformly. Animating mask paths creates keyframes storing bezier point positions—After Effects interpolates between keyframes using spatial and temporal interpolation settings. First vertex designation determines which point Smart Mask Interpolation treats as the anchor when morphing between different shapes. Motion blur can be applied to fast-moving masks for realism. Track mattes provide an alternative to masks, using one layer's alpha or luminance to control another layer's visibility—track mattes offer advantages when mask shapes need to be complex graphics or moving video elements.

Frequently Asked Questions About Masking