A other way to say transform.LocalScale.x

So as some of you may know there is problem with OnTriggerExit2D.
the problem is that it doesnt work if you use transform.localScale.
And you use transform.localScale to rotate the player 180 so his facing the other way.
So my question is: Is there any other way to change the way the player is facing?

Why should someone use localScale (that is the scale/size of a mesh/sprite) instead of the normal way by using rotation/localRotation/eulerAngles/localEulerAngles? I find it non-sense or I’m missing something from your game logic.