On this page
| Action | Mac | Windows |
|---|---|---|
| Use as mask | Mac⌃⌘M | WindowsCtrlAltM |
| Remove mask | Mac⌃⌘M | WindowsCtrlAltM |
| Subtract (for an inverse mask) | Mac⌥⇧S | WindowsAltShiftS |
Quick steps
Put the mask shape at the bottom
In the Layers panel, drag the shape you want to use as the mask below the image or layers it should cut. The mask always sits behind the layers it masks.
Select the mask and the content
Shift-click the mask shape and every layer you want masked so they're all selected.
Apply Use as mask
Press Ctrl+Cmd+M on Mac or Ctrl+Alt+M on Windows, or open More options in the right sidebar and choose Use as mask.
Pick a mask type
Select the mask layer and open the dropdown in the Mask section of the right sidebar. Choose Alpha, Vector or Luminance. Hover an option to preview it.
Adjust the shape or the content
The mask and the masked layers move and resize separately, so select either one in the Layers panel and reposition it.
How masks work in Figma
A mask is a layer whose shape decides which parts of the layers above it stay visible. Any layer can be a mask: a rectangle, an ellipse, a vector path, a text layer, a group, or an image with transparency. Masking text over a photo is a common way to get photo-filled lettering.
Figma has three mask types, set in the Mask section of the right sidebar:
- Alpha (the default) uses the mask's transparency. A gradient or semi-transparent fill gives you a soft fade.
- Vector uses only the outline of the shape and ignores its transparency, so the edge is hard.
- Luminance uses brightness. Brighter areas show more of the content, and pure black (
#000) shows nothing.
Why Use as mask isn't working
Work through these causes in order. The first two cover most of the forum threads on this.
- The mask shape is on top. Figma masks the layers above the mask, so a shape sitting over the photo either hides it or masks nothing useful. Drag the shape below the content in the Layers panel and apply the mask again.
- A frame with Clip content is involved. Figma's own page notes that masking stops at a frame or component with clip content on, and on the forum this is the usual reason a frame or component won't mask. Turn off Clip content on the frame, or select the layers and group them (
⌘G/Ctrl+G) before masking. - The content isn't inside the mask group. Only layers in the mask group get clipped. If you masked with just the shape selected, drag the content into the group in the Layers panel, above the mask layer.
- The shortcut does nothing. Figma's default shortcuts assume a US QWERTY layout. If your system uses another layout, set the matching one in Main menu → Preferences → Keyboard layout, or use More options → Use as mask in the sidebar. The shortcuts not working guide covers this in more detail.
- The mask type hides everything. A Luminance mask with a dark fill shows almost nothing. Switch to Alpha, or lighten the mask fill.
How to edit a mask shape
Open the mask group in the Layers panel and select the mask layer, which is the bottom one. You can move it, resize it or double-click it to edit its vector points. The masked content stays where it is, because masks and masked layers move independently. To reposition the photo inside the shape instead, select the image layer and drag it.
To add another layer to an existing mask, drag it into the mask group in the Layers panel, above the mask layer.
How to remove a mask in Figma
Select the mask layer and press ⌃⌘M / Ctrl+Alt+M again, or right-click the mask and choose Remove mask. The layers stay in place and become fully visible.
How to make an inverse mask
Figma has no inverse mask toggle, and the forum thread asking for one has close to 39k views. Two workarounds do the job:
- Subtract boolean. Put the shape you want to cut out on top of the shape you want to keep, select both and press
⌥⇧S/Alt+Shift+S. The bottom layer keeps its style and the top one becomes a hole. Use the result as a normal mask. See Figma boolean operations for the rules. - Luminance mask. Make the mask white where content should show and black where it should disappear, for example a white rectangle with a black circle on top, grouped. Set the mask type to Luminance.
Mask or crop?
If all you need is a rectangular trim of one photo, cropping is quicker and doesn't add a group. Cropping an image in Figma is non-destructive and keeps the image as a single layer. Reach for a mask when the shape is round, custom, or text, or when several layers need clipping to the same outline. To cut a subject out of its background, a traced mask works, but the remove background guide covers faster options.
Ranked listBest Figma plugins for images and stock photosFrequently asked questions
What is the mask shortcut in Figma?
Ctrl+Cmd+M on Mac and Ctrl+Alt+M on Windows. The same shortcut toggles the mask off again. If it doesn't respond, check that Figma's keyboard layout setting matches your system layout.
Why is my Figma mask not working?
Usually the mask shape is above the content instead of below it, or a frame with Clip content on is blocking the mask. Move the shape to the bottom of the selection, and turn off Clip content or group the layers first.
Can I mask a frame in Figma?
Frames with Clip content on don't mask the way you expect. Turn off Clip content on that frame, or wrap it in a group and mask the group.
Is there an inverse mask in Figma?
Not as a setting. Use a Subtract boolean to cut the unwanted area out of your mask shape, or use a Luminance mask where black hides and white shows.
More in Images, masks & shapes
- How to Make a Seamless Pattern in FigmaMake a seamless pattern in Figma: pick a tile size, wrap shapes that cross an edge to the opposite side, preview with a pattern fill, and generate grids faster.
- How to Outline a Stroke in FigmaOutline stroke in Figma turns a stroke into a filled shape with Cmd+Option+O. How it differs from Flatten and Outline mode, plus the shortcuts for each one.
- How to Remove the Background From an Image in FigmaRemove an image background in Figma with the Remove background AI action, a free plugin, or a pen-tool mask. Credit costs, plan limits and why it isn't working.
- How to Crop an Image in FigmaCrop an image in Figma: double-click it, choose Crop image, drag the handles, press Enter. Plus the Cmd/Ctrl-drag quick crop and hiding excess outside a frame.
- Figma Boolean Operations: How Union, Subtract, Intersect and Exclude WorkUnion, Subtract, Intersect and Exclude in Figma: the Alt+Shift shortcuts, which layer sets the style, why booleans fail on frames, and how to undo a union.
- How to Add an Image in Figma (and Replace It Later)Add images in Figma with Shift+Cmd+K, drag and drop or the fill picker. How to put an image in a shape, replace it, and choose Fill, Fit, Crop or Tile mode.
- Why Isn't the Glass Effect or Background Blur Working in Figma?Glass and background blur in Figma don't show on a layer with a 100% opacity fill. Fix it, build glassmorphism, and add grain with the Noise and Texture effect.
- How to Add Realistic Mock Data in FigmaHow to fill Figma designs with realistic mock data: names, emails, addresses, and AI-written text. Native Figma AI, lorem ipsum plugins, and Mock Master AI.
- Why Is My Figma Export Blurry, and How Do I Fix It?Why Figma exports look blurry or pixelated and how to fix it: export at 2x to 4x, pick the right format, check JPG quality and the 4096px image limit.
- How to add icons in FigmaAdd icons in Figma with an icon plugin, a shared icon library, or by pasting SVG code, which imports as editable vectors. Plus how to recolour and export icons.
- How to install Figma pluginsFigma plugins don't need installing: open one from the Community or run it inside a file. Steps for Figma Design, Dev Mode, FigJam, Slides, saving and admins.
