hi there,
i want to find out how to design a multi dimensional array. let me give an example:
say i have 5 buttons, and each one calls a function that moves the background x and y positions.
i could declare the x and y vars when i call the function
butt.onPress = function(){
moveBack(myX,myY)
}
this however seems a bit basic.
is there a way that i could make an array that would store the name of the button, the x value for that button and also the y value for that button?
also how would i access the array properly?