# Layer and Mask

This operator is an advanced version of the clone stamp tool. It allows for masking between two copies of the same texture, making it especially useful for aperiodic textures. Aperiodic textures don’t have a repeating pattern and may appear random at first, but they aren’t random enough to appear seamless. In such cases, this operator enables you to easily mask over the edges of the offset texture, effectively hiding the seams and creating a more seamless appearance.

In order to add the operator click on *+ Add operator* and then select *Layer and Mask*:

<figure><img src="/files/xC4Zd0b7JxNwVQVW1KwI" alt="" width="139"><figcaption></figcaption></figure>

{% hint style="info" %}
If the *+Add operator* text is not visible, it means you need to add a *Tiling* operator first before you can add any other operators.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.colormass.com/scanning-and-tiling/texture-editor/operators/layer-and-mask.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
