GML
if (mouse_x > view_xview[0]+638 && view_xview[0]+640 < room_width-3)
view_xview[0] += 10;
if (mouse_x < view_xview[0]+2 && view_xview[0] > 0)
view_xview[0] -= 10;
if (mouse_y > view_yview[0]+478 && view_yview[0]+768 < room_height-3)
view_yview[0] += 10;
if (mouse_y < view_yview[0]+2 && view_yview[0] > 0)
view_yview[0] -= 10;
Zakładając że view ma 640x480
O to chodziło ?