You can pre-calculate the X and Y locations by mixing array indices, like this
I’m setting the color and the position randomly, but it’s the same concept