tgx = mouse_x + r * cos(degtorad(-image_angle)); tgy = mouse_y + r * sin(degtorad(-image_angle)); alarm[1] = 90; timer = 80;