You can enable/disable a stencil to paint without or through a stencil on a per stroke basis. The stencil is applied transiently, only the part of the strokes that pass through it are kept.
There are three stencil modes:

| Stencil: | Result: |
|---|---|
| Matte Off | Default setting, no stencils are used. |
| Use Layer | Strokes will be constrained by the matte inputted into the layer. |
| Use Stroke | Forms a stencil from what is currently available in that layer. |
| Invert | Inverts the stencil. |