isFlippedHorizontally property
bool
get
isFlippedHorizontally
Whether it is currently flipped horizontally.
Implementation
bool get isFlippedHorizontally => transform.scale.x.isNegative;
Whether it is currently flipped horizontally.
bool get isFlippedHorizontally => transform.scale.x.isNegative;