I have this Erorr:ERROR in action number 1 of Create Event for object <undefined>:Variable <unknown_object>.y(1, -2147483648) not set before reading i

E

elkhanjafarov05

Guest
___________________________________________
############################################################################################
ERROR in
action number 1
of Create Event
for object <undefined>:

Variable <unknown_object>.y(1, -2147483648) not set before reading it.
at gml_GlobalScript_get_hover (line 18) - return point_in_rectangle(_mouseX, _mouseY, x, y, x + width, y + height);
############################################################################################
gml_GlobalScript_get_hover (line 18)

This is script:
Code:
var _mouseX = device_mouse_x_to_gui(0);
var _mouseY = device_mouse_y_to_gui(0);

return point_in_rectangle(_mouseX, _mouseY, x, y, x + width, y + height);
Help please
 

TsukaYuriko

☄️
Forum Staff
Moderator
Top