Distance sensor repetition

You still haven't said what you want to do.