Hey everyone! Need a bit of a nudge from someone who knows/have found a way around this problem before. I've managed to work out how to change/link states of individual objects in an array with other arrays using a simple for loop, however it's only working with common states for only the button that has been clicked.
My idea is that when you click "menu"tile -> contArray.y=0 and contArray.y=243; and when you click "login" tile -> contArray.y=-243 and contArray.y=0 in other words, they both slide in the same direction and the non-selected content is invisible (i.e. clipped)