SpriteFactory.Sprite.SetFlippedState
C#: void SetFlippedState (bool xFlippedState, bool yFlippedState)
JS: function SetFlippedState (xFlippedState : boolean, yFlippedState : boolean) : void
Description
Set flipped states individually. This function sets the flipped states to the values passed.
Flipping allows you to mirror a Sprite including generated colliders and locators.
See Also
isFlipped
isFlippedX
isFlippedY
Flip
FlipX
FlipY