I couldn't find anything about this. I tried comma separated numbers but it doesn't accept it.
Thanks.
Develop games in your browser. Powerful, performant & highly capable.
You can do this in a loop, for example to set layers from 5 to 10 invisible:
For "n" from 5 to 10 : Set layer looopindex invisible
Thanks! What does 'n' do/mean though?
It's a name of the loop index variable. In case you have multiple nested loops you can access each loopindex using loopindex("name"). For example:
For "a" from 1 to 5 ..For "b" from 1 to 10 ....Create object at x=(loopindex("b")*60), y=(loopindex("a")*40)
I used "n" and it works perfectly. Just needed that simple loop. Thank so much!