Pixel-Composer/objects/o_dialog_textbox_autocomplete/Step_0.gml
2024-04-10 10:02:23 +07:00

9 lines
No EOL
302 B
Text

/// @description Insert description here
if(textbox == noone) exit;
if(textbox != WIDGET_CURRENT) exit;
if(array_empty(data)) exit;
if(point_in_rectangle(mouse_mx, mouse_my, dialog_x, dialog_y, dialog_x + dialog_w, dialog_y + dialog_h)) {
HOVER = self.id;
if(mouse_press(mb_left)) FOCUS = self.id;
}