Pixel-Composer/objects/_p_dialog/Destroy_0.gml
2024-03-14 20:35:19 +07:00

11 lines
No EOL
217 B
Text

/// @description init
if(sHOVER) HOVER = noone;
if(sFOCUS) setFocus(noone);
WIDGET_CURRENT = noone;
ds_list_remove(DIALOGS, self);
if(parent) array_remove(parent.children, id);
if(!passthrough)
MOUSE_BLOCK = true;