# What is an object group

**URL:** <https://discourse.mapeditor.org/t/what-is-an-object-group/901>\
**Category:** Questions\
**Created:** [November 7, 2015, 11:16pm UTC](https://discourse.mapeditor.org/t/what-is-an-object-group/901 "2015-11-07T23:16:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thallysson](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@Thallysson](https://discourse.mapeditor.org/u/Thallysson)\
**Post date:** [November 7, 2015, 11:16pm UTC](https://discourse.mapeditor.org/t/what-is-an-object-group/901/1 "2015-11-07T23:16:07Z")

</div>

Hello, when they speak of tiled ever hear of such an object group, what is it?

---

<div class="post-metadata">

**Author:** ![Ablu](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/ablu/32/1496_2.png) [@Ablu](https://discourse.mapeditor.org/u/Ablu)\
**Post date:** [November 11, 2015, 8:10am UTC](https://discourse.mapeditor.org/t/what-is-an-object-group/901/2 "2015-11-11T08:10:21Z")

</div>

I think you mean the `Object Layer`. That basically is a collection of objects simply.

---

<div class="post-metadata">

**Author:** ![Thallysson](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@Thallysson](https://discourse.mapeditor.org/u/Thallysson)\
**Post date:** [November 11, 2015, 1:00pm UTC](https://discourse.mapeditor.org/t/what-is-an-object-group/901/3 "2015-11-11T13:00:23Z")

</div>

I just saw it in a tmx code of a site:

```
<objectgroup name="Collision" width="20" height="20">
<object x="287" y="354" width="127" height="60"/>
</objectgroup>
```

---

<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:** [November 11, 2015, 9:09pm UTC](https://discourse.mapeditor.org/t/what-is-an-object-group/901/4 "2015-11-11T21:09:21Z")

</div>

The `objectgroup` element in a TMX file is what is called “Object Layer” in the Tiled interface. I just considered “Object Layer” less confusing, but didn’t change the TMX format, to keep compatibility.

---

<div class="post-metadata">

**Author:** ![Thallysson](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@Thallysson](https://discourse.mapeditor.org/u/Thallysson)\
**Post date:** [November 12, 2015, 8:15pm UTC](https://discourse.mapeditor.org/t/what-is-an-object-group/901/5 "2015-11-12T20:15:51Z")

</div>

I’m sorry, did not know what it means, but I know the that is a layer of objects
