A mask cuts a layer's images to a shape. The layer only shows where its mask is opaque, and is hidden everywhere else.
The typical use is a product made of areas that all use the same images. A shirt designer, for example, lets customers choose a fabric for the collar, the sleeves and the body separately. Each fabric is one render of the whole shirt in that fabric; each area is a layer that shows that render through its own mask. You prepare one image per fabric and one mask per area, instead of one image per fabric for every area.
Masks are for 2D configurators. They have no effect on 3D products.
Prepare a mask
A mask is a PNG with transparency, one for each view where the layer needs one:
- Opaque where the layer shows, transparent where it is hidden. Partly transparent pixels give soft edges. The colour of the mask does not matter, only its transparency.
- The same size as the layer's images on that view. If the layer's images are 2000 × 1500 pixels, the mask is 2000 × 1500 too. The configurator warns you when the sizes differ.
The easiest way to make one is to export it from the same file or render as the product images, so it lines up exactly. An area that you already render on its own (the sleeves alone, on a transparent background) can serve as its own mask.
Add a mask to a layer
- Open the product configurator and go to Layers.
- Open the layer, then the Mask section (after Selection settings).
- For each view that needs a mask, click the empty box and choose the PNG.
- Save.
Each view shows its mask with its file name and size. A view you leave empty shows the layer whole.
The Mask section appears on simple, multiple choice and static layers. Groups, form and text overlay layers have no mask.

Colours instead of images
A masked layer can also fill its mask with each choice's colour, so plain colours need no images at all. See Drawing choice colours in the preview.
Several areas with the same choices
Use one global layer several times, each with its own mask:
- Set up the first area's layer with its choices, and make it global.
- Import the same global layer again for each other area.
- On each, override the name and the mask for that area.
The areas share one list of choices: a fabric added to the global layer appears on every area. See Using a global layer several times.
To keep the areas apart instead, each with its own list of choices, use Duplicate in the layer's actions and change the name and mask on each copy.
Where masks apply
Everywhere the layer is drawn:
- the configurator preview, whichever 2D viewer you use;
- the image in the cart, the order and quote requests;
- the picture in the Save your design PDF;
- the preview on the Image order screen.
An order keeps the mask it was placed with: changing or removing a layer's mask later does not change the images of past orders.
Good to know
- Masks must come from your site, or be served with CORS headers, like images for the canvas viewer. A mask on a CDN or a storage service without an
Access-Control-Allow-Originheader cannot be used. - A mask that cannot be loaded shows the layer whole, and your browser's console names the file. A layer covering more than it should is easier to notice than one that disappears.
- Themes that stretch the layer images. The core themes show each layer image at its own proportions, which is what keeps the mask aligned with it. A custom stylesheet that stretches or crops layer images (for example with
object-fit: cover) moves them away from their masks. - The first cart image takes a little longer. The server cuts each masked image when it builds the image of a configuration. That image is then kept and reused for every identical configuration.