# Object Placement Not retaining custom properties (Mac OSX)

**URL:** <https://discourse.mapeditor.org/t/object-placement-not-retaining-custom-properties-mac-osx/471>\
**Category:** Questions\
**Created:** [April 16, 2015, 8:54pm UTC](https://discourse.mapeditor.org/t/object-placement-not-retaining-custom-properties-mac-osx/471 "2015-04-16T20:54:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beast96GT](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Beast96GT](https://discourse.mapeditor.org/u/Beast96GT)\
**Post date:** [April 16, 2015, 8:54pm UTC](https://discourse.mapeditor.org/t/object-placement-not-retaining-custom-properties-mac-osx/471/1 "2015-04-16T20:54:50Z")

</div>

I’ve searched through the forum and haven’t figured out what I’m doing wrong or if what I’m trying to do is unsupported, so maybe you guys can help. Hopefully it’s something simple. Thanks in advance.

I’m adding a tileset with enemy objects for placement onto the map. I’m editing the Custom Properties on the individual tiles so that they’re read into my game engine and instantiated properly.

For example:  
Category - actor  
Type - greenKiller

When I stamp the objects onto the map, they’re listed in the object tree (With no name, BTW), however when I select the object on the map, it has none of the custom properties I set for the tile on the tileset. So basically, I have to click on the object in the object tree and manually add the properties to each one (or copy and paste to and from the tree, then move the copy).

Am I using this incorrectly or have the order of operations wrong? I simply want to drop objects onto the map that have the custom properties I added on the tile.

Thanks so much!

-Chris

---

<div class="post-metadata">

**Author:** ![kheftel](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/kheftel/32/1864_2.png) [@kheftel](https://discourse.mapeditor.org/u/kheftel)\
**Post date:** [April 17, 2015, 12:42am UTC](https://discourse.mapeditor.org/t/object-placement-not-retaining-custom-properties-mac-osx/471/2 "2015-04-17T00:42:53Z")

</div>

as far as I know tile objects do not inherit the properties of the tiles they are stamped from.

---

<div class="post-metadata">

**Author:** ![Beast96GT](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Beast96GT](https://discourse.mapeditor.org/u/Beast96GT)\
**Post date:** [April 17, 2015, 1:19am UTC](https://discourse.mapeditor.org/t/object-placement-not-retaining-custom-properties-mac-osx/471/3 "2015-04-17T01:19:14Z")

</div>

Oh, man, that would be a bummer. Each type of enemy has different  
attributes–it would only make sense to have to set it once for each one.

---

<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:** [April 17, 2015, 9:00am UTC](https://discourse.mapeditor.org/t/object-placement-not-retaining-custom-properties-mac-osx/471/4 "2015-04-17T09:00:44Z")

</div>

> [@Beast96GT](#):
>
> Oh, man, that would be a bummer. Each type of enemy has different attributes–it would only make sense to have to set it once for each one.

Copying the properties over would be rather redundant, wouldn’t it? If each type of enemy has different attributes, then you set those attributes on the tiles representing each enemy type. You do not need this information to be copied over into the enemy instances since you can look it up at the tile.

The only reason to copy them over may be if you then want to modify these attributes per enemy instance. Though in that case, it would make sense to only store those properties that were modified from their default values rather than having a possibly large set of properties always copied over from the tile. Tiled could help here by showing those properties in some way even if they have not been set on the object but only on its tile, but something like that still needs to be implemented.

---

<div class="post-metadata">

**Author:** ![Beast96GT](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Beast96GT](https://discourse.mapeditor.org/u/Beast96GT)\
**Post date:** [April 17, 2015, 2:34pm UTC](https://discourse.mapeditor.org/t/object-placement-not-retaining-custom-properties-mac-osx/471/5 "2015-04-17T14:34:16Z")

</div>

I think you’ve helped solve my problem–I need to be referencing the  
information back on the associated tile instead of the object itself. Like  
you say, only making entity specific changes on the actual objects.

I was thinking of the object layer as independent of the tile layer,  
despite using placement with the tiles. This should be an easy  
work-around. Thanks!
