You may be interested in ultrasonic sensor like HC-SR04. You can use it with Arduino in easy way. <a href="https://nerdytechy.com/guide-for-arduino-ultrasonic-sensor-hc-sr04/">Here</a> is a good...