when i use
runtime.layout.getLayer("Layer 1").isVisible="true"; runtime.layout.getLayer("Layer 2").isVisible="false";
the layer 1 are show,but layer 2 not hide,still shown.what's going wrong?
You're assigning a string, not a boolean.
Develop games in your browser. Powerful, performant & highly capable.
holy molly,where was my eyes????
thank you.