function click_panels_away() { mouse_mode = 4; while(1) { if (mouse_left && mouse_panel) // left button pressed over panel? reset(mouse_panel,SHOW); // remove clicked panel wait(1); } }
► latest version online