for (temp.ctrl: GUIContainer.controls) { if (temp.ctrl.name.pos("Window") >= 0) { temp.ctrl.hide(); }}