if mouse_check_button_pressed(mb_left) { mx = mouse_x my = mouse_y }