I don't even know what this is supposed to be. Are they cubes just at interval positions in world coordinates? This seems completely arbitrary and trivial, but whatever... If you want to do this from a script, you just do something like: Code (csharp): GameObject[] cubesArray = new GameObject[20]; void Start() { int counter = 0; for(int i = 0; i < 6; i++) { for(int j = 0; j < 6; j++) { if((i == 0 || i == 5) && (j == 0 || j == 5)) { GameObject cube = GameObject.CreatePrimitive(PrimitiveType.Cube); cube.transform.position = new Vector3(i * 10f, 0f, j * 10f); cubesArray[counter] = cube; counter++; } } } } or something like that (untested).