SpriteFactory.Sprite.Flip
C#: void Flip (bool flipX, bool flipY)
JS: function Flip (flipX : boolean, flipY : boolean) : void
Description
Flip Sprite horizontally and/or vertically. This function acts as a toggle, flipping opposite of the current flipped state.
Flipping allows you to mirror a Sprite including generated colliders and locators.
See Also
isFlipped
isFlippedX
isFlippedY
FlipX
FlipY
SetFlippedState