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