gamemaker 2d array code example Example: gml 1d array syntax array[i] = n; // i represents array index // n represents value to be set to