# Shapes and masks

> Add shape items, draw custom paths with the pen tool, use any shape as a clip mask, shape a layer with masks of its own, and show a layer through another with a track matte.

Formats Studio docs · Creative tools · https://formats.app/docs/shapes-masks · Updated 2026-10-21

## Add a shape

- Open **Shapes** in the rail and click a shape to add it at the playhead, or drag it onto a specific track.
- Built-in shapes: **Rectangle**, **Circle**, **Ellipse**, **Triangle**, **Star**, **Polygon**, and **Heart**.
- A new shape lands sized to the canvas and selected, ready to position and style.

## Style a shape

| Control | Notes |
| --- | --- |
| Type | Switch between the seven shape types. |
| Fill | A solid color or a gradient: Linear, Radial, Conic, or Diamond. |
| Paint with | Shown when the timeline holds a graphic your agent made. Choose that graphic to fill the shape with it as it plays: it fills the shape's box, cropped to cover it, and shows only inside the outline, under the stroke. The graphic then shows only in the shapes it paints, on its own timing; where it is not playing, the shape shows its own fill. **Own fill** paints the shape's color or gradient again. Groups take a graphic the same way in their box. |
| Stops | For gradients: click the bar to add a stop in the color already there, drag a stop to move it, and set the selected stop's **Stop Color**, **Opacity**, and **Location**. **Remove stop** and **Reverse** edit the list. |
| Angle / Center / Size | Where the gradient runs or points, its center in the box, and how far it reaches (at 100% a radial or diamond gradient touches the edges; conic gradients have no size). Each can be keyframed. |
| Stroke W. / Stroke | Outline width (0–50 px) and its color (shown when width is above 0). |
| Cap / Join | Stroke endings and the way connected stroke segments meet. With the **Miter** join, **Miter Limit** sets how far a sharp corner may reach, in stroke widths, before it is bevelled; it can be keyframed. |
| Dashes | **Solid** or **Dashed**. Dashes start three stroke widths long; set each **Dash** and **Gap** in pixels, use **Add dash** for up to three pairs, and **Offset** to slide the pattern along the stroke. Every length can be keyframed, and a keyed offset makes marching dashes. |
| Fill Rule | For pen paths whose outline crosses itself: **Nonzero** fills every enclosed area, **Even-odd** leaves the overlaps empty. |
| Focal X / Y | Radial gradients only: move the bright spot separately from the gradient center. |
| Trim Paths | Start, End, Offset, and Mode controls for drawing only part of a path. Simultaneously trims every contour on its own; Individually runs one trim through the contours in order. |
| Taper | Start and end widths for a tapered stroke. |
| Radius | Corner rounding (0–100 px) for rectangle, triangle, star, and polygon. |
| Corners | Rectangles only: **Same** rounds every corner by the radius, **Each** gives the four corners their own radius, and each can be keyframed. |
| Points / Inner R. | Number of points and inner radius, for star and polygon. |
| Outer round / Inner round | Stars only: bend the outer or inner points into curves (-100 to 100%; negative values loop them). Both can be keyframed. |
| Direction | Which way a triangle points. |

> **Tip:** Position, size, rotation, and opacity live in the Transform controls, and most values can be keyframed — see [Keyframes](https://formats.app/docs/keyframes).

## Stack fills and strokes

- Open **Fills and strokes**, below the Shape section, and choose **Add fill** or **Add stroke**.
- Extra fills paint over the main fill, and the one at the top of the list paints on top. Each is a solid color or a gradient with its own **Opacity**; a new fill starts as a white sheen fading down the shape.
- Extra strokes paint under the main stroke, each under the one above it, so wider ones show as outlines. A new stroke starts 8 px wider than the widest one. Set its **Color**, **Width**, **Opacity**, and **Dashes**; it follows the main stroke's caps, joins, trim, and taper.
- Turn on **Behind fill** to paint a stroke under the fills as well, so only its outer half shows, like a sticker outline.
- Use the arrows to reorder, the switch to hide one, and the trash to remove it. Each change is one Undo step.

## Reshape and repeat a shape

- Open **Path operators**, below Fills and strokes. The outline is built top to bottom: **Combine** shapes into it, **Morph** it, reshape it with **Operators**, then repeat it with the **Repeater**. Every fill and stroke follows the result.
- **Add shape** under Combine cuts a hole in the middle to start with. Set its **Operation** (**Union**, **Subtract**, **Intersect**, or **Exclude**), its **Shape**, and its **X**, **Y**, **Width**, and **Height** as percentages of the layer, so it scales with the layer; **Rotation** and the shape's own settings follow. A donut is an ellipse minus a smaller ellipse, a crescent a circle minus an offset circle, a speech bubble a card plus a triangle.
- With two or more shapes selected, **Combine shapes** folds the others into the first as Union shapes, where they sat, in one Undo step. Shapes with holes, or with their own combined shapes, operators, morph or repeater, stay as they are.
- Turn on **Morph** and pick the shape to morph into, placed the same way; **Progress** runs from 0% (the shape as it is) to 100% (the target), and keyframes on it animate the morph.
- Choose **Add operator** to reshape the result.
- **Offset** grows the outline (or shrinks it, with a negative **Amount**) with a **Miter**, **Round**, or **Bevel** join. Open paths are offset by choosing **Outline stroke** in the Shape section, which converts a stroke-only shape in place into a filled outline; turn the fill off first for filled shapes, and note that handles stay on the shape's box. **Round corners** rounds sharp corners by a **Radius**.
- **Zig zag** adds **Ridges** of a **Size** along each side, with **Corner** or **Smooth** points. **Pucker & bloat** pulls the sides in and the points out (negative) or bulges the sides (positive).
- **Twist** turns the outline most at its **Center** and not at all at its far edge. **Wiggle** moves every point on its own, **Speed** times a second; **Detail** adds points, **Correlation** makes neighboring points move together, and **Seed** picks another pattern.
- Turn on **Repeater** to draw **Copies** of the finished shape, each moved by **Position**, turned by **Rotation**, and scaled by **Scale** one step more than the one before, about the **Anchor**. **Start opacity** and **End opacity** fade the copies, and **Stack** puts later copies below or above. A ring of copies turns about an anchor below the shape.
- Operators are listed, reordered, hidden, and removed like extra fills. Each change is one Undo step. When combined shapes split the outline into pieces, Individually runs one trim through those pieces; dashes and tapers still apply to each piece on its own.

## Animate paints, operators and the repeater

Every number under Fills and strokes and Path operators has a keyframe diamond beside its slider: a gradient stop's **Opacity** and **Location**, an extra paint's **Opacity**, a stroke's **Width** and dashes, each operator's settings, a combined shape's or the morph target's placement, and the Repeater's settings. Click the diamond to key the value at the playhead; once a value has keyframes its slider shows the value at the playhead, and changing it keys it there. Copies, ridges, and detail step from one whole number to the next.

> **Note:** Keyframes name a fill, stroke, operator, or combined shape by its place in its list, so while any of its values has keyframes that list can't gain, lose, or reorder entries. Remove those keyframes first to change the list.

## Draw a custom path with the pen tool

1. In **Shapes**, choose the **Pen** tool to draw a custom path shape.
2. Click in the preview to place points; click and drag a point to pull out curved (bezier) handles.
3. Backspace removes the last point, and Escape cancels.
4. With at least three points, choose **Finish Shape** to commit it (or **Cancel**).

> **Note:** To reshape a path later, select it and use **Edit Path**: drag points and handles, double-click an edge to add a point, and convert a point between **Corner** and **Bezier**. Choose **Done** when finished.

## Turn text, SVGs and images into shapes

1. Select one text layer or image layer and open **Convert to shapes** in the inspector.
2. For text or an SVG, choose **Convert**. Text becomes its letter outlines, one shape per text color, over its background; its stroke and shadow come along. An SVG becomes one shape per part it draws, with its fills, gradients, strokes, holes and blend modes; its clip paths, and masks made of white and black shapes, become the shapes' own masks, and its translucent or blended groups become groups set to **Draw as one**, so they fade and blend as the SVG did.
3. For a photo or other image, set **Colors** and **Detail**, then choose **Trace image**. Each color becomes a shape, stacked from the most common up; one color traces the silhouette. More detail follows the pixels more closely.

> **Note:** The shapes take the layer's place, timing and animation, in one Undo step. Several shapes become the layers of a group in its place; when the layer was translucent, faded, blended, or had effects, masks, a shadow or a track matte, the group keeps them and draws its shapes as one, so the result looks as the layer did. Converted text can no longer be edited as text, and shapes made of several outlines (letters with holes) are restyled rather than edited point by point. Cropped raster images trace only their visible crop; cropped SVGs must be uncropped before conversion; GIFs cannot be traced.

## Trace a picture into layers

A logo, icon, banner or generated picture can become layers you edit one by one: its colors as shapes, its words as text, and its objects as cut-outs.

1. Right-click an image clip on the timeline, or a picture in **Media**, and choose **Trace into layers**.
2. Flat art (mostly a few exact colors) becomes one shape per color, as few colors as the picture needs. A photo or painted poster stays a picture, with each object that stands out cut out on a layer above it.
3. Words in the picture become text layers in Inter, at the size, weight, color and place they had, and the letters are filled in underneath so they are not drawn twice.
4. A clip becomes a composition of these layers in its place, keeping its position, timing and animation; double-click it to edit the layers. From **Media**, the composition is added beside the picture.

> **Note:** Reading text and cutting out objects use Apple Vision, so they need the Mac app; in the web app a picture is traced into shapes without them. Remove a clip's crop first. GIFs and videos cannot be traced, and an SVG is already shapes: use **Convert to shapes**. One Undo step undoes the trace; pictures it added stay in **Media**.

## Use a shape as a mask

1. Place the shape on a track **above** the clip you want to mask.
2. In the Shape section, turn on **Use as Mask**.
3. Choose a **Mask Type**: **Clip** for hard edges, or **Alpha** for soft edges.
4. For an Alpha mask, adjust **Feather** to soften the edge; use **Invert** to hide the shape area instead of revealing it.

> **Note:** A mask affects everything on the tracks below it, by the shape geometry. Feather applies only to Alpha masks — Clip masks stay hard-edged.

> **Warning:** While you edit a mask or draw with the pen, the rest of the editor is locked — finish or exit mask editing to continue.

## Shape one layer with its own masks

A layer's own masks cut only that layer, wherever it moves. Each is a rectangle, an ellipse or a path you edit point by point, and masks combine from the first to the last.

1. Select the layer and open the **Masks** section.
2. Add a **Rectangle** or an **Ellipse**, then choose the pencil to move its points on the preview.
3. Choose how each mask combines with the ones above it under **Mode**: **Add** joins it, **Subtract** cuts it away, **Intersect** keeps only the overlap, **Lighten** and **Darken** keep the stronger or the weaker mask where they overlap, and **Difference** keeps where only one shows. **None** keeps a mask without using it.
4. Soften its edge with **Feather**, weaken it with **Opacity**, grow or shrink it with **Expansion**, and turn on **Inverted** to keep the outside instead.

To soften one part of the edge more than the rest, edit the mask's points and click a point: the **Masks** section shows its feather as **Point 1**, **Point 2** and so on. Set it, and the softness eases from that point to its neighbours along the edge; the reset button beside it gives the point back the mask's feather.

## Show a layer through another (track matte)

A track matte shows a layer only where another layer, the matte, shows: a video inside the letters of a title, or a photo fading out along a gradient. The matte can be any layer, with its own animation, masks and effects, and it is hidden itself while it is used as a matte.

1. Select the layer to show, such as the video.
2. In the **Layer** section, choose the matte layer, such as the title, under **Track matte**.
3. Choose how the matte shows the layer under **Matte**: **Alpha** where the matte is opaque, **Luma** where it is bright, or **Alpha inverted** and **Luma inverted** for the opposite.

> **Note:** Choose **None** under **Track matte** to show the layer whole again; the matte layer reappears. Splitting the matte keeps it working: whichever piece is on screen is the matte. A layer cannot show through a layer that already shows through it.

## Cut out a person or an object, or put words behind them

The **Cut-out tool** picks what to cut out of a video clip and follows it through the clip, on your device. The work runs in the background and carries on after a reload.

1. Select a video clip, move the playhead to a frame where the subject is clear, and in the **Subject** section choose **Cut-out tool**.
2. Drag a box round the object you want. Or Option-click it to get a few choices (the part you clicked, the object, the whole around it) and pick one with the numbered buttons. In the Mac app a plain tap lifts the subject under it.
3. To correct the edge, turn on **Brush** (B) and paint what is missing; hold Option to paint away what should not be there. Choose **Apply** (Enter).
4. **Cut out** draws only the subject. Right-click a video clip and choose **Cut out person** to cut out the people (Mac app).
5. **Erase and fill** removes the subject instead: a sign, a passer-by or a mic stand disappears and its place is filled with the background from the frames around it. The fill is worked out in the background once the matte is ready, and the line under the switch says how far it has got. It works best when the camera holds still (or the clip is stabilised).
6. To put a caption or title behind the speaker, keep it on a track above the clip, select it, and in the **Layer** section set **Occlusion** to **Behind subject**. **Inside subject** shows the layer only over the person, **Around subject** only in a halo around them (set its **Halo width**), and **Partly behind** hides it behind the part of the person below the **Split**, so words can sit behind the shoulders and over the head.
7. **Feather** softens the edge and **Expand** grows the person (a negative value shrinks them). **Subject** picks whose subject covers the layer; **Clip under the layer** follows whichever clip is under it, shot by shot.

> **Note:** The first use downloads the cut-out model (83 MB) once. Until a matte is ready the clip and the layers behind it show whole. People and tap-to-lift use Apple Vision, so they need the Mac app; boxes, choices and the brush work in the web app too.

## Blur, fog or matte a shot by its depth

Formats works out how far away each part of a video clip's picture is, frame by frame, on your device, and the **Depth** section uses it. The work runs in the background and carries on after a reload.

1. Select a video clip and in the **Depth** section choose an **Effect**.
2. **Depth of field** keeps the depths near **Focus** sharp (100% is the nearest things in the shot, 0% the farthest), as wide as **Range**, and blurs the rest up to **Blur**.
3. **Fog** fades the picture into **Fog color** from the **Fog from** depth farther away, reaching **Density** over the **Range**.
4. **Depth matte** draws only the depths within **Range** of **Depth**, edges softened by **Softness**; **Keep** **Outside range** draws everything else. To put a title between a speaker and the room, duplicate the clip onto a track above the title and give the copy a depth matte of the near depths.

> **Note:** The first use downloads the depth model (50 MB) once. Until the depth is ready the clip shows as it is. It works in the web app and the Mac app alike.

## Related

- [Clip properties](https://formats.app/docs/properties): Transform, crop, opacity and blend, and the type-specific controls for each kind of clip.
- [Effects and looks](https://formats.app/docs/effects-color): Apply quick Looks, stack GPU effects, import LUTs, and isolate corrections.
- [Keyframes](https://formats.app/docs/keyframes): Animate transform, crop, text, color, effect, and audio values with keyframes and ready-made animations.
