I have a tile floor and I want to change the color of single tiles randomly for a few seconds.
This function gets all my tiles laid out and randomly picks one and then changes the material:
It works but then the tile color does not change back to its original color. I would like to change the color back to its original after 2 seconds.
Any ideas please are really appreciated, thank you.
Peter
thank you. But somehow it does flip tile colors every 4 seconds. How would I use a timer on this? It basically has to start with begin play and then just keep running and flip tile colors every few seconds. I have never used a timer…