L
Larf
Guest
I feel like I'm going to look very stupid, I have a object I want to use as a button. So I put it in the room and the object has this code in the step event:
if mouse_check_button_pressed(mb_left) and position_meeting(mouse_x, mouse_y, object)
{
room_goto(2);
}
But when I left click on the object, nothing happens, does someone know what's wrong?
Thank you for your time!
if mouse_check_button_pressed(mb_left) and position_meeting(mouse_x, mouse_y, object)
{
room_goto(2);
}
But when I left click on the object, nothing happens, does someone know what's wrong?
Thank you for your time!