ArcBasicDocs

ImagesOverlap

True if two image rectangles overlap.

ImagesOverlap ( image1,x1,y1,image2,x2,y2 )

Parameters

image1
the first image.
x1
where it's drawn, across.
y1
where it's drawn, down.
image2
the second image.
x2
where it's drawn, across.
y2
where it's drawn, down.

Description

Tells you whether the rectangles of two images, drawn at the given positions, overlap. It is quick, but counts see-through corners as part of the image; ImagesCollide checks the actual pixels.

See also