Sliding gates in Code walker

so im building a sliding gate and it slides to the right using the flags 1572872

Can i make it slide to the left???
cos i can’t work it out at all