Analog Sensor Advice

1/ A vernier gauge.

2/ If you can attach a linear potentiometer it would be reasonably good.

3/ How accurately do you want to measure that spacing? Over what max/min range?

magnetics, sound or IR won't work.

Allan