scanning will stop once object is detected