I need a javascript 2D array to store information about GUI boxes to be rendered, for example.
The “boxTitle” along with a few other columns need to be strings, the xPosition, yPosition etc. Determine the position of each box and therefor need to be ints.
My question, how would I go about declaring this, what type of array should I use, and could you give me an example of how I would then read from the array?
I have spent a whole day trying to wrap my head around something that should be really easy.