# Can is there a set orientation for polygon objects?

**URL:** <https://discourse.mapeditor.org/t/can-is-there-a-set-orientation-for-polygon-objects/3190>\
**Category:** Questions\
**Created:** [May 7, 2018, 11:09pm UTC](https://discourse.mapeditor.org/t/can-is-there-a-set-orientation-for-polygon-objects/3190 "2018-05-07T23:09:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seanba](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/seanba/32/1531_2.png) [@Seanba](https://discourse.mapeditor.org/u/Seanba)\
**Post date:** [May 7, 2018, 11:09pm UTC](https://discourse.mapeditor.org/t/can-is-there-a-set-orientation-for-polygon-objects/3190/1 "2018-05-07T23:09:54Z")

</div>

I’m just wondering if polygon points are always listed in the TMX or TSX files in CW or CCW order. Thanks!

---

<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:** [May 8, 2018, 9:10am UTC](https://discourse.mapeditor.org/t/can-is-there-a-set-orientation-for-polygon-objects/3190/2 "2018-05-08T09:10:03Z")

</div>

That depends on how you drew the polygon. So, the order of the points is the order in which you clicked, be it CW or CCW. Does that help?

---

<div class="post-metadata">

**Author:** ![Seanba](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/seanba/32/1531_2.png) [@Seanba](https://discourse.mapeditor.org/u/Seanba)\
**Post date:** [May 8, 2018, 3:24pm UTC](https://discourse.mapeditor.org/t/can-is-there-a-set-orientation-for-polygon-objects/3190/3 "2018-05-08T15:24:14Z")

</div>

Yes, it does. Thanks, Bjorn.
