Programming Question on how to make a sequence stop and wait for the user's input

I think you are looking for something like:

https://forum.arduino.cc/t/waiting-for-user-input/311750/6