Hello.
I want to create a game where 3 random objects disappear when touched.
I want the object to disappear when you touch the color that matches the object in front of it, and another object to spawn behind it.
The image on the left I’m thinking of is perspective, as if it were 3D, and the one on the right is 2D, where the objects in front or behind are all the same size. I don’t mind either form.
How can I make the objects keep spawning randomly and when I touch one, another one spawns?