Hello,
I have a soft-off/emergency switch that, when triggered, should pause a blocking routine (multistepper) immediately. That said, I might miss some basic understanding about interrupts, but here's what I did:
In setup():
attachInterrupt(SafeOffPin, offRising, RISING)...