> For the complete documentation index, see [llms.txt](https://support.skylum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.skylum.com/editing-tools/masking/managing-masks.md). Agents can also search and read this documentation through its [MCP server](https://support.skylum.com/~gitbook/mcp).

# Managing Masks

Learn how to manage and refine masks in Luminar for Desktop using Mask Actions, including copying, inverting, and clearing masks.

Masks in Luminar for Desktop let you combine different selection methods and control how they work together. A mask can contain several components, each using its own masking method and combination operation.

You can edit individual masks, adjust the combined result, copy masks between tools and images, and refine your selections at any time.

### Understanding Master and Nested Masks

{% @arcade/embed flowId="OeTu1tbR94edXxXg4KHy" url="<https://app.arcade.software/share/OeTu1tbR94edXxXg4KHy>" %}

A **Master Mask** is the main mask attached to a tool. It contains one or more **Nested Masks**, which define the selected areas and how they are combined.

The Master Mask appears as a card in the tool panel. It includes:

* A black-and-white preview thumbnail showing the masked and unmasked areas.
* The mask name.
* An actions menu (`...`) for managing the entire mask.
* The **Add Operation** button (`[+]`) for adding another Nested Mask.
* An expand/collapse arrow for showing or hiding the Nested Masks list.

When expanded, the list displays each Nested Mask with its operation badge, tool icon, and masking method name. The operation badge indicates how that component contributes to the combined mask.

#### Adding and Combining Nested Masks

You can combine multiple masking methods in a single Master Mask to create more precise selections.

To create the first Nested Mask:

1. Select a tool in the **Tools** section of the right sidebar.
2. Click **Add Mask** above the tool settings.
3. Choose a masking method from the menu.
4. Create the selection using the controls for that method.

To add another Nested Mask to an existing Master Mask:

1. Click the add button (`[+]`) on the Master Mask card.
2. Choose **Add**, **Subtract**, or **Intersect**.
3. Select a masking method from the submenu.
4. Create the new selection.

The new Nested Mask appears at the top of the list.

The three operations work as follows:

* **Add** includes the selected area in the combined mask.
* **Subtract** removes the selected area from the combined mask.
* **Intersect** keeps only the area shared by the existing mask and the new selection.

Each Nested Mask retains its selected operation, which is shown by a colored badge in the list.

### Editing and Organizing Masks

#### Adjusting the Master Mask

The Master Mask's actions menu (`...`) contains options for editing and managing the combined mask.

Select **Edit** to access the following controls:

* **Opacity** — adjusts the opacity of the entire mask.
* **Feather** — softens the edges of the entire mask.
* **Shift Edge** — moves the edges of the entire mask inward or outward.

These adjustments apply to the combined Master Mask, not to individual Nested Masks.

#### Editing a Nested Mask

You can reopen any Nested Mask to refine its selection after creating it.

1. Expand the Master Mask if the Nested Masks list is collapsed.
2. Select the Nested Mask you want to edit.
3. Adjust its selection using the controls available for that masking method.
4. Click the back arrow in the mask header to return to the Master Mask overview.

#### Hiding and Showing Nested Masks

You can temporarily exclude a Nested Mask from the combined result without deleting it.

1. Expand the Master Mask card to view its Nested Masks.
2. Hover over the Nested Mask you want to hide.
3. Click the actions icon (`...`) on the right side of its row.
4. Select **Show Mask** or **Hide Mask**, depending on the current state.

A hidden Nested Mask remains in the list but no longer contributes to the Master Mask. You can show it again at any time using the same menu.

#### Renaming a Master Mask

To rename a Master Mask, open its actions menu (⋯) and select **Rename**, or double-click the mask name. Enter the new name and press **Enter** to save.

#### Inverting a Mask

To invert a Master Mask or an individual Nested Mask, open its actions menu (⋯) and select **Invert**.

Inverting the Master Mask reverses the final combined result, while inverting a Nested Mask affects only that component.

Some masking methods, such as **Select**, don't support individual inversion. In this case, use **Invert** from the Master Mask's actions menu to reverse the entire combined mask.

### Copying and Pasting Masks

You can copy a Master Mask and paste it into another tool, edit, layer, or photo. Copying a Master Mask includes its Nested Masks and mask settings:

1. Open the Master Mask's actions menu (`...`).
2. Select **Copy**.
3. Open the destination tool.
4. Click **Add Mask**.
5. Select **Paste** from the menu.

The copied mask replaces the destination tool's existing Master Mask.

Pasted masks are independent copies. Changes made to one copy don't automatically update the others.

### Deleting Masks

To delete a Nested Mask or the entire Master Mask, open its actions menu **(⋯)** and select **Delete**.

Deleting the last Nested Mask also removes the Master Mask.

### Working with the Mask Overlay

You can show or hide the mask overlay and change its color from the actions menu **(⋯)**. Open the menu on either the Master Mask or in the Nested Mask editing view. Select **Show Mask Overlay** or **Hide Mask Overlay** to toggle the overlay, or choose **Overlay Color** to select a different color.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.skylum.com/editing-tools/masking/managing-masks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
