steppermotor with big easy stepper shield and accelstepper library

Any suggestions how to code this?

Look at the AccelStepper class. There is a method to determine where the stepper is. If the stepper has been told to move, and it isn't yet where it was told to go, do nothing. If it is, take a picture.