How would I go about fliping a sprite without moving its center?

I have tried many options, and they all flip the sprite along the edge, moving the center of the sprite, and while this would usally not be a problem, my sprite is wide enough so that it moves it in the direction of flipping quite a bit. need help, please and thank you.

If you need to do it through code, using the transforms scale component should work

    private GameObject obj = GameObject.FindGameObjectWithTag("mySprite");
    Vector3 scale;
    void MyFunction()
    {
        scale = obj.transform.localScale;
        scale.x = scale.x * -1;
        obj.transform.localScale = scale;
    }