ok so i have a selector that tells me the name of my object in my multi-dimensional array, but i want to know how i can have it send me back the index of that object. can anybody help me out?
asked Oct 10 '11 at 04:21 AM
Given that you know the transform (I assume it is an array of transforms?) you can use
And then you can use xPos and yPos! If they return -1, it means the selected transform isn't in the grid (oops);
answered Oct 10 '11 at 04:44 AM