Yes that is exactly what I'm trying to do and what I have already tried yesterday, but the point is that since according to my test nothing is working properly with this code and both delays aren't affecting in any way both layers, I do not even have a starting point where to focus my attention.I wrote that script without any testing since I was in a hurry. Please use it as an excercise to find what's wrong and fix it.
Last edited: