![I'm a bit new to Unity and while trying to code my 2D player to flip whenever he is facing right or left I came across a problem I cant find an I'm a bit new to Unity and while trying to code my 2D player to flip whenever he is facing right or left I came across a problem I cant find an](https://i.redd.it/nqwmfa94u3t61.png)
I'm a bit new to Unity and while trying to code my 2D player to flip whenever he is facing right or left I came across a problem I cant find an
![10 how to scale an object | change localscale unity 3d | game object c# | transform local scale - YouTube 10 how to scale an object | change localscale unity 3d | game object c# | transform local scale - YouTube](https://i.ytimg.com/vi/pDTW_mL93Yg/maxresdefault.jpg)
10 how to scale an object | change localscale unity 3d | game object c# | transform local scale - YouTube
![Can someone help explain this to me, why do I need to write line 59 if it's the same as line 50(this code is for flipping player sprite facing direction when moving) : Can someone help explain this to me, why do I need to write line 59 if it's the same as line 50(this code is for flipping player sprite facing direction when moving) :](https://i.redd.it/vlivp782kjl81.jpg)
Can someone help explain this to me, why do I need to write line 59 if it's the same as line 50(this code is for flipping player sprite facing direction when moving) :
![Unity Transform Essentials - 11 - transform.localScale in unity | Unity, Computer programming, Game programming Unity Transform Essentials - 11 - transform.localScale in unity | Unity, Computer programming, Game programming](https://i.pinimg.com/originals/8e/91/46/8e9146c3b3ba54bc12f45f7662d99fd0.jpg)
Unity Transform Essentials - 11 - transform.localScale in unity | Unity, Computer programming, Game programming
![About scaling content and how to reset the plane · Issue #16 · Unity-Technologies/arfoundation-samples · GitHub About scaling content and how to reset the plane · Issue #16 · Unity-Technologies/arfoundation-samples · GitHub](https://user-images.githubusercontent.com/41097890/43114145-225e9450-8f30-11e8-9d25-8068691fc027.png)