Use the Garbage Mask to isolate particular areas of an image to include with, or exclude from, the opaque area of the matte.
To access the Garbage Mask menu, use:
Batch, then select a node from the Node bin.
Timeline, then use Batch FX (see Creating Batch FX).
Timeline, then add Timeline FX from the Effects ribbon (see Adding Timeline FX).
When you access the GMask as a Timeline FX, you can enable Use Matte to use the matte input as part of the effect processing.
Tools, then select from the menu (See Accessing Tools).
The Modular Keyer, then select a node from the Node bin.
This node accepts a front and a matte clip as input, and outputs a result.
GMask usage notes: