Short answer - No.
Longer answer:
You could check if x1 is the same as x2 and y1 is the same as y2,
but if these are moving objects it will allmost certainly never happen.
You could check if the distance between those points is less than a certain distance and have that call the actions ..