Which sensor detects position?

Explanation:
Potentiometers are used as position sensors.