You need the blue 'check distance' block.