Accel Stepper step distance

Is it possible with the Accel Stepper library to calculate the distance in number of steps from the current position of the stepper from the zero-position of the stepper? Any suggestions?

So far I've found the zero using the stepper.setCurrentPosition() , but my goal is to create a "while" loop where the stepper will move back towards zero if it goes too far away from the zeroed position.

the currentPosition() function returns the number of steps from the zero set with setCurrentPosition(0). So you can check current position and if it Is out of limit moveTo(0).