Moving from right to left side of the screen working correctly, but not vice versa?

I’m making a space invader type game for game developing practicing, and my moving from one side of the screen to the other is only working with the right side.
The code I’m using for moving from the right to left is if (transform.position.x > 9.4f) { transform.position = new Vector3(-9.4f, transform.position.y, transform.position.z); and the code I’m using for moving from left to right side of the screen is if (transform.position.x > -9.3f) { transform.position = new Vector3(8.9f, transform.position.y, transform.position.z);
Any help?

Hi, how is your game behaving?