Pixel-Composer/objects/o_dialog_textbox_autocomplete/Step_0.gml

9 lines
302 B
Plaintext
Raw Normal View History

2024-04-10 05:02:23 +02:00
/// @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;
}