How to reset a grid back to white with timer

so I have a grid of 5*5 that I have filled with random colours with each individual mouseClick.
How do I reset the grid back to white with the next mouseClick? Also how do I use a timer so that the resetting animation of each square can be clearly seen. I don’t know how to execute this.

Hi alex,

You’re gonna have to be more specific in your question. Posting code and letting us know where exactly you’re running into problems will help others help you better.


i have figured out how to do it thanks!