Best control structure for task of aligning motor with sensor

So long as it works!

I think I'd read all the analog inputs at the input of your loop(), and derive the various conditions - too high, too low, middle.....

Then use a switch/case statement to perform the various actions

there's a hundred ways to skin a cat!

regards

Allan