# Anchor of Flipping and Rotation

**URL:** <https://discourse.mapeditor.org/t/anchor-of-flipping-and-rotation/612>\
**Category:** Questions\
**Created:** [June 29, 2015, 4:45am UTC](https://discourse.mapeditor.org/t/anchor-of-flipping-and-rotation/612 "2015-06-29T04:45:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SeminYun](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@SeminYun](https://discourse.mapeditor.org/u/SeminYun)\
**Post date:** [June 29, 2015, 4:45am UTC](https://discourse.mapeditor.org/t/anchor-of-flipping-and-rotation/612/1 "2015-06-29T04:45:29Z")

</div>

Hi.

I’m using TILED Usful… thx a lot.

but I checked weird issue for me

it’s about Flipping and Rotation.

When i rotate IMAGE( IMAGE is Object mading by jpg or png), it rotate by anchor(0, 1.0)(left down position)

but when i flip IMAGE and then is flip by anchor(0.5, 0.5)

so i got wrong position in my tool when i use both rotate and pivot

i can’t control…

can i check or change anchor point for flipping?

thx a lot

---

<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:** [June 29, 2015, 6:41am UTC](https://discourse.mapeditor.org/t/anchor-of-flipping-and-rotation/612/2 "2015-06-29T06:41:25Z")

</div>

The flipping flags just apply to the texture, not the object. As such it would not make much sense to have a controllable anchor point.

---

<div class="post-metadata">

**Author:** ![SeminYun](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@SeminYun](https://discourse.mapeditor.org/u/SeminYun)\
**Post date:** [June 29, 2015, 10:55am UTC](https://discourse.mapeditor.org/t/anchor-of-flipping-and-rotation/612/3 "2015-06-29T10:55:18Z")

</div>

thx for answer…

i’m using [pixi.js](http://www.pixijs.com/).

pixi.js only can flip by scale like (spr.scale.x = -1);

normally i will set like this.

spr.anchor.set(0.5, 0.5)  
spr.scale.x = -1

and then it’s perfectly good? but another problem happened like rotate or position

because pixi.js’s coordinates system.

coordinates system is changed to center base.

but tiled given us always left-down position.

i know what you say.T-T. WHY this problems happed for me…

so could you gave me answer to resolve this problems?

or cound you have plan to add functions , different coordinate system for another middlewear?

thx a lot always

---

<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:** [July 1, 2015, 8:11pm UTC](https://discourse.mapeditor.org/t/anchor-of-flipping-and-rotation/612/4 "2015-07-01T20:11:00Z")

</div>

I am definitely considering to add an option to change the object origin, but I can’t say whether it would be something I’d get around to in the near future.

If you want to help me get around to more features, consider [supporting me on Patreon](http://www.patreon.com/bjorn) with a small monthly donation. Together with all other supporting users you will enable me to spend more time on Tiled every week.
