Does y=|x-1| go left or right

The equation y = |x - 1| represents the absolute value function centered at x = 1. When the input value x increases or decreases from the center value x = 1, the output value y increases at the same rate. To put it simply, as x moves right or left from x = 1, y moves right or left respectively. Therefore, the graph of y = |x - 1| moves right or left.