Mask a clip

Keep part of a picture with a shape: a line, a mirror band, a circle, a rectangle, a heart or a star, feathered, inverted and keyframed.

2 min read

A mask keeps one shape of a clip's picture and lets the lanes below show through the rest. It is the clip's own setting, not an effect, and it works on video and image clips.

Add a mask

Select the clip and open the Inspector's Video tab, Basic page. The Mask section has a row of shapes:

ShapeKeeps
NoneThe whole picture. Picking it takes the mask off
LinearOne side of a straight line
MirrorA band between two parallel lines; Thickness sets how wide
CircleThe inside of a circle or an ellipse
RectangleThe inside of a rectangle; Roundness rounds its corners
HeartThe inside of a heart
StarThe inside of a star

Invert keeps the outside of the shape instead. Under the shapes, Position X and Position Y place it, Width and Height size it, Rotation turns it and Feather softens its edge.

While the section is open, the monitor outlines the mask on the selected clip, with grips to move it, size it one way or both, turn it and soften it.

Animate it

Every number in the section has a diamond, so a mask can move, grow, turn or soften over the clip like any other knob; see keyframes. While a clip has a mask, the Keyframes pane gets a row for each of its numbers.

What it covers

The mask is cut from the picture as you see it: after the crop and, on a stabilized clip, after the steadying, so it holds still with the steadied picture. It combines with a background removal, the crop, the clip's opacity and a wipe. The canvas behind a clip on the main lane is never masked: it shows through where the mask takes the picture away. The monitor and the export draw the mask the same way.

A project from 0.2.4 that used the old Mask effects (Circle, Rectangle and Linear) opens with them turned into the clip's mask, knobs and keys carried over, and a notice says so.

On a phone

Mask is on a selected clip's strip. Its sheet is the shapes as a row of tiles, then Invert, Feather, Rotation and, for a rectangle, Roundness. Where the mask sits and how big it is are dragged on the monitor with the same grips.

From a script

updateClip sets a clip's list of masks, and setMaskKey keys one number of one mask (x, width, feather and the rest). See Edit commands and Types.

Keep reading