Reflecting Image

Hello everyone,

Can you help me with the following:

Let (A) be a snake ( snake head is on the right and tail on the left)

When a user taps on the left side of the screen, the snake image will be reflected ( which means snake head will be on the left and the tail will be on the right).

and vise versa for the right side tap.

Thanks a lot. [import]uid: 43119 topic_id: 8896 reply_id: 308896[/import]

You can flip an image horizontally or vertically by negating its scale, i.e. to flip something horizontally just do this:

snake.xScale = -1 [import]uid: 5833 topic_id: 8896 reply_id: 32667[/import]

Thank you so very much GrahamRanson, it worked :slight_smile: [import]uid: 43119 topic_id: 8896 reply_id: 32763[/import]

Glad I could help! [import]uid: 5833 topic_id: 8896 reply_id: 32789[/import]