# How to change order of objects in an object layer?

**URL:** <https://discourse.mapeditor.org/t/how-to-change-order-of-objects-in-an-object-layer/1688>\
**Category:** Questions\
**Created:** [September 19, 2016, 2:04pm UTC](https://discourse.mapeditor.org/t/how-to-change-order-of-objects-in-an-object-layer/1688 "2016-09-19T14:04:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Parent](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@Michael\_Parent](https://discourse.mapeditor.org/u/Michael_Parent)\
**Post date:** [September 19, 2016, 2:04pm UTC](https://discourse.mapeditor.org/t/how-to-change-order-of-objects-in-an-object-layer/1688/1 "2016-09-19T14:04:29Z")

</div>

Hi everyone,  
I’m still a noob to Tiled. I have several objects in an object layer and need to change the order on which they draw. I know to set the object layers drawing order to “manual” BUT once thats done, how to I rearrange the order?

I would have assumed it would be as easy as clicking and dragging the object list for that layer to change their order, but I can’t find a way to do that.

Thanks.

---

<div class="post-metadata">

**Author:** ![tsjondin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/tsjondin/32/802_2.png) [@tsjondin](https://discourse.mapeditor.org/u/tsjondin)\
**Post date:** [September 19, 2016, 7:38pm UTC](https://discourse.mapeditor.org/t/how-to-change-order-of-objects-in-an-object-layer/1688/2 "2016-09-19T19:38:50Z")

</div>

Hi Michael,

The context menu , right-click menu, on an Object when in manual mode has the options to “Raise/Lower object to Top/Bottom.”

Hope that helps!

---

<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 25, 2016, 11:39am UTC](https://discourse.mapeditor.org/t/how-to-change-order-of-objects-in-an-object-layer/1688/3 "2016-09-25T11:39:10Z")

</div>

> [@Michael\_Parent](#):
>
> I would have assumed it would be as easy as clicking and dragging the object list for that layer to change their order, but I can’t find a way to do that.

That would be nice indeed. I’ve already implemented reordering by clicking and dragging in the animation editor so it’s definitely possible to allow it for objects (and layers) as well, it’s just more work that you’d expect and it’s something I need to get around to.

Related issue:

> <https://github.com/mapeditor/tiled/issues/178>
>
> (Moving https://sourceforge.net/apps/mantisbt/tiled/view.php?id=12 here.)
> In the… layers view being able to rearrange the order of the layers with the mouse would be useful. 
> 
> @bjorn said:
> (https://sourceforge.net/apps/mantisbt/tiled/file\_download.php?file\_id=3&type=bug)
> Hmm, I've given this a short try. While enabling Drag and Drop in the GUI is very easy (see the attached patch), making it actually functional still seems quite tricky (it's based on mime types). Also, I don't think the GUI looks very appropriate, since it doesn't really indicate the act of moving, but rather points one item at another. There doesn't even seem to be a way of moving a layer to the top or bottom, depending on where it actually inserts it when dropped.
> 
> This feature is on hold for now, since I don't think it has much priority, given that you can already just move layers in multiple steps.
