Can the div background change color every few seconds **without** the player tapping anything?
![](https://i.imgur.com/I5DUGlUb.jpg)
GalaxyHunter
05 Oct 2018, 14:43My question is, can you write in the editor to make the
change color by itself without the player tapping an option?
Belén
06 Oct 2018, 10:34You need to attach a js SetInterval method to the intended element, like this:
https://www.w3schools.com/js/js_timing.asp
![](https://i.imgur.com/I5DUGlUb.jpg)
GalaxyHunter
07 Oct 2018, 00:25@Belén I have tried copying and tweeking the script but it won’t work for me.
![](https://i.imgur.com/mpaalk0b.jpg)
manowar
07 Oct 2018, 17:53The div background is different in online editor/desktop and in the final game exported.
What is your actual editor?
![](https://i.imgur.com/I5DUGlUb.jpg)
GalaxyHunter
15 Oct 2018, 03:16Manowar, I use the online editor on mobile, I guess it limits me by a lot?