06 · Masking

Masks, Mattes + Trim Paths

Oliver Aemisegger · 6 min read

Four ways to show and hide parts of a shape. Same ting, different tools.

This section enables you to

  • Cut shapes with masks
  • Use one layer as a matte for another
  • Reveal shapes with Linear Wipe and Trim Paths

Masks

A mask cuts out part of a layer. You draw it directly on the selected layer.

  1. 01

    Select the layer

    Select the layer first. Otherwise you draw a new shape layer instead of a mask.

  2. 02

    Draw the mask

    Draw with the Pen tool or a shape tool on the selected layer.

    G
  3. 03

    Check it

    Turn on the Solo switch to see only this layer.

    Solo switch turned on for layer 1

Track Mattes

A track matte uses another layer as the mask. The matte layer defines what’s visible.

  1. 01

    Pick the matte

    In the Track Matte column of your layer, choose the matte from the menu or drag the pick whip onto it.

    Track Matte column: the pick whip is dragged from layer 2 onto layer 1
  2. 02

    Alpha or Luma

    Alpha uses the shape of the matte, Luma uses its brightness. Invert flips it.

Linear Wipe

Linear Wipe is an effect that wipes a layer away in a straight line.

  1. 01

    Apply the effect

    Search for Linear Wipe in the Effects & Presets panel and drag it onto your layer.

  2. 02

    Animate it

    Animate Transition Completion from 0% to 100%.

Trim Paths

Trim Paths draws and erases the stroke of a shape. Start and End set the length, Offset sets which part is shown.

  1. 01

    Add Trim Paths

    Open the layer’s Contents and add Trim Paths.

    Add > Trim Paths
  2. 02

    Animate it

    Animate End from 0% to 100%. Then try Start and Offset.

Exercise

One circle, four techniques

Same project, new comp in comps > maincomps

Expected result

Shortcuts

ActionMac
Pen toolG
Show Mask PathM

More info