Help It says that The left-hand side of an assignment must be a variable, property or indexer.

i was making a 2d platformer and i am very new to c#. i was trying to flip my sprite to the direction it was moving.but i came across a problem. it says the error is at
if (Input.GetAxisRaw(“Horizontal”) > 0.5f && facingRight = false)
and
else if (Input.GetAxisRaw(“Horizontal”) < 0.5f && facingRight = true)
i dont know what the hell to do. i am pretty sure that both of them are variables but the onsole says otherwise.here is that section of the code:

    if (Input.GetAxisRaw("Horizontal") > 0.5f || Input.GetAxisRaw("Horizontal") < -0.5f)
    {
        transform.Translate(new Vector3(Input.GetAxisRaw("Horizontal") * playerSpeed * Time.deltaTime, 0f, 0f));
        if (Input.GetAxisRaw("Horizontal") > 0.5f && facingRight = false)
        {
            Flip();
            facingRight = true;
        }
        else if (Input.GetAxisRaw("Horizontal") < 0.5f && facingRight = true)
        {
            Flip();
            facingRight = false;
        }

    }
}

Try this

 if (Input.GetAxisRaw("Horizontal") > 0.5f || Input.GetAxisRaw("Horizontal") < -0.5f)
 {
     transform.Translate(new Vector3(Input.GetAxisRaw("Horizontal") * playerSpeed * Time.deltaTime, 0f, 0f));
     if (Input.GetAxisRaw("Horizontal") > 0.5f && facingRight == false)
     {
         Flip();
         facingRight = true;
     }
     else if (Input.GetAxisRaw("Horizontal") < 0.5f && facingRight == true)
     {
         Flip();
         facingRight = false;
     }
 }

When you are comparing two values, you need double equals (x == y) , when setting a variable, use only
one (x = y)