Flip display object

Hello everyone,

First off, I just want to say this forum has been so helpful for a new user like me…thanks for all the help!

I’d like to horizontally flip a png image on screen? It’s a non uniform shape so I cannot use object.rotation()

Is this possible?

[import]uid: 10763 topic_id: 4163 reply_id: 304163[/import]

You can set the object’s xscale to -1. That will flip it for you. [import]uid: 8444 topic_id: 4163 reply_id: 12991[/import]

Cool tip!

Just make sure when you try it to use xScale and not xscale since only the former will do what you want.

Jay
[import]uid: 9440 topic_id: 4163 reply_id: 13027[/import]