How to ignore rotation while moving?

While searching through the forum I was able to find some information about moving a CHARACTER with transform.forward and such. What I want is for the platforms to line up. The problem is when I try to move the x position it moves it diagnol because it is rotated. It is for a house building system. Does anyone know a way I can move it just forward.
Example:87930-asf.png

Thank You!

Move your platforms using Vector3.right, Vector3.forward etc. (which are in world-space and never rotate) rather than transform.right, transform.forward (which are in object-space and therefore affected by local rotation).