Analog Sensor Advice

Delta_G:
Have you considered a sensor that was actually meant to sense distance? Like an ultrasonic or one of the IR distance sensors?

I will see how those two sensors work, I don't know them. Thank you