How to access arrays index?

so say i have multiple arrays triggering a function via MouseEvent.CLICK, and i want to be able to access the function’s e.currentTarget (arrays) index.

so if blah[3] is the variable being clicked, it will return 3.

i am sure the answer is very simple… until i ask about doing it with a 2d array as well?.. thanks.