Question about the external Interrupt ??

actually it is not that simple, cuz I am going to replace the button with a sensor so the Interrupt is caused by a sensor that has a critical function, and I will not be able to poll the pin.