So I have the following problem and I've been struggling for about a week and I can't figure it out. I tried to look for several tutorials to follow several steps, they all lead to the same place. In principle, I want to create an array every time I press the blue, yellow or red button, then I set the animation of the respective block in the color I want, for example red.
My problem: It does not create several blocks with the respective animation, but only one. I would like every time I click on blue to create a new array with the blue value and show it to me in the table/Inventory.
I would also need to be able to sort the blocks once I succeed my first problem. for example, I want Red to always be first, then yellow and then blue.
I hope I made myself understood, below I leave you some images and my file, for those who can help me I will pay a lot please. I will also leave the discord here. I've been struggling for a very long time and I don't know who to turn to. :(
IMG: prnt.sc/5ouixnUdU3O8 prnt.sc/Ka2y-5dwdrpM
File : mega.nz/file/5hlmWRqb