target = obj_marisa; target_camera_x = 0; target_camera_y = 0; if ( instance_exists(target) ) { target_camera_x = target.x; target_camera_y = target.y; }