function onCreated() { new GuiWindowCtrl("Test_Window") { //stuff visible = false; } Test_Window.visible = true; }