# Prevent overlapping 🗗 when draw big tile (e.g.3✖3) from Collection-of-Images

**URL:** https://discourse.mapeditor.org/t/prevent-overlapping-when-draw-big-tile-e-g-3-3-from-collection-of-images/4760
**Category:** Questions
**Created:** [October 6, 2020, 2:46am UTC](https://discourse.mapeditor.org/t/prevent-overlapping-when-draw-big-tile-e-g-3-3-from-collection-of-images/4760 "2020-10-06T02:46:42Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![yopyop](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/yopyop/32/2987_2.png) [@yopyop](https://discourse.mapeditor.org/u/yopyop)
#### Post date: [October 6, 2020, 2:46am UTC](https://discourse.mapeditor.org/t/prevent-overlapping-when-draw-big-tile-e-g-3-3-from-collection-of-images/4760/1 "2020-10-06T02:46:43Z")

</div>

I have a map. It is 64✖64 pixels per tile.  
I have a tileset with an rock image 192✖192 pixels.  
When I paint by pressing mouse on the map, then drag to draw a line or stamp mode, the result is :-  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/mapeditor/original/2X/d/d629a494744bdd34ca21bb27b8a7f98ebb9be6ee.png)

How to make the result not overlap?  
I want the result like this :-  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/mapeditor/original/2X/c/c0ca2536b5fef1a1cad0d5949badaa4b0dc957d1.png)

I am using **Tile Set** that is **“Collection of Images”** type.  
I don’t want to workaround by using **Tile Set** that is **“Based on Tileset Image”** type, because it is harder to refactor later.

---

<div class="post-metadata">

### Author: ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)
#### Post date: [October 6, 2020, 6:59am UTC](https://discourse.mapeditor.org/t/prevent-overlapping-when-draw-big-tile-e-g-3-3-from-collection-of-images/4760/2 "2020-10-06T06:59:27Z")

</div>

The Stamp Brush currently only avoids overlap when you hold Shift to draw your line.

I agree it could be useful to also have a mode where overlap is avoided when just painting, but it would need to be optional because in some situations the current behavior is preferred.

---

<div class="post-metadata">

### Author: ![yopyop](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/yopyop/32/2987_2.png) [@yopyop](https://discourse.mapeditor.org/u/yopyop)
#### Post date: [October 6, 2020, 7:55am UTC](https://discourse.mapeditor.org/t/prevent-overlapping-when-draw-big-tile-e-g-3-3-from-collection-of-images/4760/3 "2020-10-06T07:55:17Z")

</div>

The behavior you described occurs only in **“Based on Tileset Image”** type. I love it.

In **“Collection of Images”** type, it doesn’t avoid overlap no matter I hold Shift or not.

Thanks.

---

<div class="post-metadata">

### Author: ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)
#### Post date: [October 6, 2020, 8:44am UTC](https://discourse.mapeditor.org/t/prevent-overlapping-when-draw-big-tile-e-g-3-3-from-collection-of-images/4760/4 "2020-10-06T08:44:45Z")

</div>

> [@yopyop](#):
>
> The behavior you described occurs only in **“Based on Tileset Image”** type. I love it.
> 
> In **“Collection of Images”** type, it doesn’t avoid overlap no matter I hold Shift or not.

This is not dependent on the type of tileset, but on the tile size. The Stamp Brush only avoids overlap based on the occupied cells, so if your tiles extend beyond their cell they will still overlap other tiles.

---

<div class="post-metadata">

### Author: ![yopyop](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/yopyop/32/2987_2.png) [@yopyop](https://discourse.mapeditor.org/u/yopyop)
#### Post date: [October 6, 2020, 8:54am UTC](https://discourse.mapeditor.org/t/prevent-overlapping-when-draw-big-tile-e-g-3-3-from-collection-of-images/4760/5 "2020-10-06T08:54:45Z")

</div>

Is it possible for me to inform the editor that an item in **Collection of Images** is larger than 1✖1 tile?

or… does the **Collection of Images** type supports only items that has size 1✖1 tile?  
^ i.e. I should not use **Collection of Images** for 3✖3 wall?

Thanks.

---

<div class="post-metadata">

### Author: ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)
#### Post date: [October 6, 2020, 9:02am UTC](https://discourse.mapeditor.org/t/prevent-overlapping-when-draw-big-tile-e-g-3-3-from-collection-of-images/4760/6 "2020-10-06T09:02:42Z")

</div>

The Collection of Images type of tileset can contain tiles of any size. When the tiles are larger than the map grid, they extend beyond their cell, overlapping other tiles. They still occupy only a single cell on the tile layer.

Larger tiles than the grid are commonly used to make it easier to place tall things like walls and trees, but can also be used for slightly overlapping grass as seen in the “isometric\_grass\_and\_water” example.

There is no way to make the Stamp Brush aware of the larger tiles in order to avoid the overlap.
