How can dragable objects recognize if they are "placed over" other objects

How can dragable objects recognize if they are "placed over" other objects

Let's say I have two images.  I make one dragable.  I physically move one image directly over the other.  While my mouse is pressed I release it.  The image underneath recognizes and gives a message indicating it's covered by the other????