LayerMask
Cut a layer to any shape. Draw a rectangle, an ellipse or your own path, soften its edge, and combine masks to show just what you want.


After: A LayerMask with Shape Ellipse, 1300 by 860 pixels and Feather 120.
A LayerMask under a video layer is a Rectangle or Ellipse (Position is its centre, with Size and Rotation) or a Path of Points, in the layer's pixels. Feather softens its edge, Opacity and Invert change what it lets through, and Mode adds, subtracts or intersects it with the masks above it; a layer takes up to 8. Select one and drag its handles in the viewport. Alt click the outline to add a point, Shift click to remove one.
Properties
Mask
| Name | Type | Default | Description |
|---|---|---|---|
| Enabled | boolean | true | |
| Feather | number | 0 0 to 1000 | |
| Invert | boolean | false | |
| Mode | string | Add Add, Subtract, Intersect | How the mask combines with the masks above it on the layer: Add, Subtract or Intersect. |
| Opacity | number | 1 0 to 1 | |
| Position | Vector2 | 320, 180 | The centre of a Rectangle or Ellipse mask. |
| Rotation | number | 0 any value | The rotation of a Rectangle or Ellipse mask. |
| Shape | string | Rectangle Rectangle, Ellipse, Path | The mask's outline: a Rectangle or Ellipse placed by Position, Size and Rotation, or a Path polygon of Points. |
| Size | Vector2 | 320, 180 | The size of a Rectangle or Ellipse mask. |
File
| Points | {Vector2} | The Path shape's polygon, in the layer's display pixels and filled even-odd, up to 256 points per layer. |
