• Hey! Guest! The 39th GMC Jam will take place between November 26th, 12:00 UTC and November 30th, 12:00 UTC. Why not join in! Click here to find out more!

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

___________________________________________
############################################################################################
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