need something like this
runtime.getLayout("Layout 2").isVisible=true;
but can't find right method in documentation
Develop games in your browser. Powerful, performant & highly capable.
well,don't code at night)))
runtime.goToLayout("Layout 2");