pappavis #1 The DistToTarget() is smethod which determines the distance in pixels from Self X/y to objTarget1 X/y.