Ultrasonic


frequencies above what is audible for hearing, in our case with lego, it sends out a wave of signals, when this wave is reflected differently than what is anticipated, it knows that something is there.