Im making a application in which i need to make a matrix of 8x8x8 buttons.
Each layer contains 8x8 buttons (so 8 layers in total).
Each button can be clicked and when clicked it change the color to red, the second click changes the color of the button to green, and the third click makes it blanc again.
I tried making different arrays for each row, but this didnt work out.
Can anyone help me creating this application?
Edited by paul.meeuwissen.106