Sprite not flipping

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ErikDz

Hi, when I try to flip H my sprite, it won’t do anything.
It’s a sprite composed of many more sprites joint by custom bones. Some of the child sprites are already flipped.
So, how can I flip everything without having to start over. (It’s already been animated so I took a long time xd)
Thank you very much

:bust_in_silhouette: Reply From: Amateur.game.dev.

Could you try making a connection between all of the child nodes the the parent node? If you do not know how to do this, it is simple. Click on one child node that will be connected to the parent, and then to the right there should be the “Inspector” box, now click on the box that says “node”. find the node type and then double click on the connection you want to make.

:bust_in_silhouette: Reply From: njamster

Alternatively you could invert the scale.x of the parent sprite instead of changing it’s flip_h property. Unlike flip_h changing the Transform2D of a node also affects its children as well.