# Linking Objects w/ Targets

**URL:** <https://discourse.mapeditor.org/t/linking-objects-w-targets/1134>\
**Category:** Suggestions\
**Created:** [February 21, 2016, 7:53am UTC](https://discourse.mapeditor.org/t/linking-objects-w-targets/1134 "2016-02-21T07:53:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dillybob](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@dillybob](https://discourse.mapeditor.org/u/dillybob)\
**Post date:** [February 21, 2016, 7:53am UTC](https://discourse.mapeditor.org/t/linking-objects-w-targets/1134/1 "2016-02-21T07:53:24Z")

</div>

Was messing around with the impactjs engine earlier today with their editor. The tile editor is a disaster. I couldn’t even load 125x125 32x32 tiles without it lagging hardcore. I instantly went back to the tiled map editor. 🙂

One thing I think we could take away from their editor though which is the only thing that makes it worth-wild is a feature called linking objects.  
For example:

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

Basically if a properties’s value matches another object, a line is drawn connecting them.

This would help tremendously with creating interactive maps. Ofcourse, you, as the tiled developer only needs to implement and draw the line. We as the game programmer will utilize the linking objects in our own way. I think this is a serious, and awesome idea to further enhance tiled!

---

<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:** [February 22, 2016, 8:22am UTC](https://discourse.mapeditor.org/t/linking-objects-w-targets/1134/2 "2016-02-22T08:22:34Z")

</div>

Yep, that would be a very useful feature. It’s been [requested before](http://forum.mapeditor.org/t/linking-objects/1091) on the forums and there’s the following issue about it on GitHub:

[https://github.com/bjorn/tiled/issues/707](https://github.com/bjorn/tiled/issues/707)

Now that [custom properties have types](http://forum.mapeditor.org/t/february-2016-development-updates/1104/2), the idea is to add an ‘object reference’ type, that will render such lines when used.

---

<div class="post-metadata">

**Author:** ![dillybob](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@dillybob](https://discourse.mapeditor.org/u/dillybob)\
**Post date:** [February 23, 2016, 10:45am UTC](https://discourse.mapeditor.org/t/linking-objects-w-targets/1134/3 "2016-02-23T10:45:18Z")

</div>

Oh, @bjorn thanks. I thought I had a unique idea! Haha. Maybe I should dive into C++ and see if I can spend some time on the bugger. I’m too busy with my own game though. No rush though, but I think it would be a very useful addition to our lord and savior Tiled. I’ll see what I can do, I know you are super busy
