# Am I misunderstanding Terrain Brush?

**URL:** <https://discourse.mapeditor.org/t/am-i-misunderstanding-terrain-brush/3827>\
**Category:** Questions\
**Created:** [March 23, 2019, 3:28pm UTC](https://discourse.mapeditor.org/t/am-i-misunderstanding-terrain-brush/3827 "2019-03-23T15:28:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shadoninja](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@Shadoninja](https://discourse.mapeditor.org/u/Shadoninja)\
**Post date:** [March 23, 2019, 3:28pm UTC](https://discourse.mapeditor.org/t/am-i-misunderstanding-terrain-brush/3827/1 "2019-03-23T15:28:22Z")

</div>

I want to make two terrain brushes from the same 18 tiles. One to do grass inside dirt, and the other to do dirt inside grass. The tool does not seem to handle competing terrain regions properly. Two questions:

1. Why are terrain regions shared between terrain types?
2. How do I get the effect I am going for? Do I have to duplicate tiles to make sure there are no competing terrain regions?

Setting up the first terrain - [https://i.imgur.com/27K5X8u.png](https://i.imgur.com/27K5X8u.png)  
Works as expected - [https://i.imgur.com/aIXNRyx.png](https://i.imgur.com/aIXNRyx.png)  
Adding in the new terrain on the same tiles - [https://i.imgur.com/jSMEdMZ.png](https://i.imgur.com/jSMEdMZ.png)  
Original terrain is now a plus sign - [https://i.imgur.com/yZjOeAT.png](https://i.imgur.com/yZjOeAT.png)  
New terrain is a plus sign - [https://i.imgur.com/sdXDBjz.png](https://i.imgur.com/sdXDBjz.png)

---

<div class="post-metadata">

**Author:** ![eishiya](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/eishiya/32/2534_2.png) [@eishiya](https://discourse.mapeditor.org/u/eishiya)\
**Post date:** [March 24, 2019, 10:58pm UTC](https://discourse.mapeditor.org/t/am-i-misunderstanding-terrain-brush/3827/2 "2019-03-24T22:58:01Z")

</div>

The reason for this is two-fold:

1. You’ve neglected to mark your horizontal and vertical transition tiles with both terrains.
2. You’re trying to draw grass/dirt on an empty field, so the terrain engine is trying to find tiles that transition from your terrain to [empty], and the only transitions it can find are the ones where you didn’t mark the other terrain and left it empty.

You should finish marking the tiles with both terrains, and then Tiled should behave as you expect. If it doesn’t, then bucket-filling the layer with grass or dirt and then drawing the other terrain on top of that will work.

---

<div class="post-metadata">

**Author:** ![Shadoninja](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@Shadoninja](https://discourse.mapeditor.org/u/Shadoninja)\
**Post date:** [March 25, 2019, 12:18am UTC](https://discourse.mapeditor.org/t/am-i-misunderstanding-terrain-brush/3827/3 "2019-03-25T00:18:32Z")

</div>

The [official terrain brush tutorial](https://doc.mapeditor.org/en/stable/manual/using-the-terrain-tool/) has a total of 12 tiles for each terrain. I did not neglect them 🙂

My tileset is in a bit of a bad state at the moment, so I can’t test the other suggestion you have (but I will do that when I have a chance and report back).

---

<div class="post-metadata">

**Author:** ![eishiya](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/eishiya/32/2534_2.png) [@eishiya](https://discourse.mapeditor.org/u/eishiya)\
**Post date:** [March 27, 2019, 10:46pm UTC](https://discourse.mapeditor.org/t/am-i-misunderstanding-terrain-brush/3827/4 "2019-03-27T22:46:21Z")

</div>

You misunderstood my post. You have the tiles you need, but you didn’t finish marking them. Your side tiles are marked with one terrain each, instead of being marked with both grass and dirt.
