# GameMaker : how to use Tiled custom properties?

**URL:** <https://discourse.mapeditor.org/t/gamemaker-how-to-use-tiled-custom-properties/2635>\
**Category:** Questions\
**Created:** [August 10, 2017, 4:06pm UTC](https://discourse.mapeditor.org/t/gamemaker-how-to-use-tiled-custom-properties/2635 "2017-08-10T16:06:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KevinTrepanier](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/kevintrepanier/32/1439_2.png) [@KevinTrepanier](https://discourse.mapeditor.org/u/KevinTrepanier)\
**Post date:** [August 10, 2017, 4:06pm UTC](https://discourse.mapeditor.org/t/gamemaker-how-to-use-tiled-custom-properties/2635/1 "2017-08-10T16:06:58Z")

</div>

I’ve set up a few custom properties (scaleX and scaleY) on square objects in Tiled, gave them a type (obj\_wall) and exported the map to gamemaker map format. The instances appear correctly but how do I access the custom properties now in GameMaker?

---

<div class="post-metadata">

**Author:** ![KevinTrepanier](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/kevintrepanier/32/1439_2.png) [@KevinTrepanier](https://discourse.mapeditor.org/u/KevinTrepanier)\
**Post date:** [August 15, 2017, 1:31pm UTC](https://discourse.mapeditor.org/t/gamemaker-how-to-use-tiled-custom-properties/2635/2 "2017-08-15T13:31:34Z")

</div>

I got my answer in another thread :

> [@Collision Detection in GM 1.4xx](http://discourse.mapeditor.org/t/collision-detection-in-gm-1-4xx/2344/6):
>
> Thanks for the clarifications! I’ll try the tile objects. Right now I can do very well with the scaleX and scaleY alone but I opened a ticket before about having origin points of the objects. These would be a useful custom properties.

---

<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:** [August 15, 2017, 2:39pm UTC](https://discourse.mapeditor.org/t/gamemaker-how-to-use-tiled-custom-properties/2635/3 "2017-08-15T14:39:32Z")

</div>

I think it would still be useful to add support for `scaleX` and `scaleY` custom properties for non-tile objects.

---

<div class="post-metadata">

**Author:** ![KevinTrepanier](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/kevintrepanier/32/1439_2.png) [@KevinTrepanier](https://discourse.mapeditor.org/u/KevinTrepanier)\
**Post date:** [August 22, 2017, 1:26pm UTC](https://discourse.mapeditor.org/t/gamemaker-how-to-use-tiled-custom-properties/2635/4 "2017-08-22T13:26:12Z")

</div>

Yes, I would use that!

---

<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:** [September 30, 2017, 9:49pm UTC](https://discourse.mapeditor.org/t/gamemaker-how-to-use-tiled-custom-properties/2635/5 "2017-09-30T21:49:05Z")

</div>

Just for general information, support for `scaleX` and `scaleY` custom properties was added with the following change:

[https://github.com/bjorn/tiled/commit/9e1023eabb6add3989ce21ee148c6ef46fc50abd](https://github.com/bjorn/tiled/commit/9e1023eabb6add3989ce21ee148c6ef46fc50abd)

They can be used to set the scale of the instance, or override the scale that is derived in case of instances placed using tile objects.

These and other supported properties are now [documented here](http://doc.mapeditor.org/en/latest/manual/export/#gamemaker-studio-1-4).
