> For the complete documentation index, see [llms.txt](https://docs.world-creator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.world-creator.com/walkthrough/add-objects/mask-objects.md).

# Mask Objects

Currently, our bushes are spread across the entire terrain, which is not what we want. Instead, we are going to restrict them to the sides of the river, where water naturally collects on a dry terrain like this. To do this drag the river layer into the distribution of our object layer. This will create a **River Distribution** automatically linked to that layer. Also set the **River Range** to 0 and the **Valley Range** to 1 as we don't want our bushes to appear in the river itself.

<figure><img src="/files/RBQWc96bzTLiT4ugUutd" alt=""><figcaption></figcaption></figure>

As you can see, this gives us a very narrow mask around the river. To change this we'll set the **Valley Width** of the river to 5 so that we have a larger valley where bushes can be placed.

<figure><img src="/files/9tNlObXPqTSsbdfsKIwL" alt=""><figcaption></figcaption></figure>

On top of that we now add a **Blur** effect to smooth it out even more and give our bushes a nice wide area to be scattered in.

<figure><img src="/files/zsF6T9d7wNv0iOe8YL81" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

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

```
GET https://docs.world-creator.com/walkthrough/add-objects/mask-objects.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.
