I’m curious to know if someone may have any ideas on how to trigger a clearInterval on a scene unload.
The Javascript code I am using makes dots on the page go from invisible to visible. I have a setInterval checking a number every 100 milliseconds. When the scene unloads, I would like to run a function that triggers a clearInterval.
I have to say, this is easily the best online community I’ve been apart of. Everyone here is so nice and helpful, not condescending and rude like on stack overflow.