# Tile placement off cursor on hexmap

**URL:** <https://discourse.mapeditor.org/t/tile-placement-off-cursor-on-hexmap/1019>\
**Category:** Bugs\
**Created:** [January 13, 2016, 8:17pm UTC](https://discourse.mapeditor.org/t/tile-placement-off-cursor-on-hexmap/1019 "2016-01-13T20:17:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pwnagepineapple](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@pwnagepineapple](https://discourse.mapeditor.org/u/pwnagepineapple)\
**Post date:** [January 13, 2016, 8:17pm UTC](https://discourse.mapeditor.org/t/tile-placement-off-cursor-on-hexmap/1019/1 "2016-01-13T20:17:51Z")

</div>

Basically, this:

![](https://canada1.discourse-cdn.com/flex035/uploads/mapeditor/original/1X/ae6635ce44b95dd971991895c4d8cb5e2f33441b.png)

EDIT: Should probably note that the distance increases the farther I get from the left edge, but vertically, the two stay lined up. Also, Map Properties:

![](https://canada1.discourse-cdn.com/flex035/uploads/mapeditor/original/1X/61486b19935865cca8a74b44b06900c5048d7922.png)

---

<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:** [January 13, 2016, 9:24pm UTC](https://discourse.mapeditor.org/t/tile-placement-off-cursor-on-hexmap/1019/2 "2016-01-13T21:24:50Z")

</div>

Hmm, indeed something is broken there. I hadn’t noticed it before since I had only tested with small hexagonal maps, and the error is getting larger when the distance to 0,0 is bigger.

I’ll make sure to look into it for Tiled 0.15.1.

---

<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:** [January 24, 2016, 12:43pm UTC](https://discourse.mapeditor.org/t/tile-placement-off-cursor-on-hexmap/1019/3 "2016-01-24T12:43:19Z")

</div>

This issue should be fixed with the following change:

> <https://github.com/bjorn/tiled/commit/94d63611c0ef51a8a785d3cf79fea233798c6a6c>

I’ve merged it to master so that it will be available in the daily builds soon. Let me know if it worked!

---

<div class="post-metadata">

**Author:** ![gostay](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/gostay/32/550_2.png) [@gostay](https://discourse.mapeditor.org/u/gostay)\
**Post date:** [January 26, 2016, 1:07am UTC](https://discourse.mapeditor.org/t/tile-placement-off-cursor-on-hexmap/1019/4 "2016-01-26T01:07:08Z")

</div>

Hi. I’m not the original poster, but I noticed this bug in 0.15.0 as well, and came here to report it. I can confirm that this is fixed in the daily build (I grabbed v0.15.0-25-g7043246 to check it). I’m using pointy-top hexes, unlike the original poster, but I assume it’s fixed for either stagger axis.

Thanks!

– Steve
