Have you tried using the contact loop?
c = GetSpriteFirstContact(spriteID)
while c>0
spr2 = GetSpriteContactSpriteID2()
contactx# = GetSpriteContactWorldX()
contacty# = GetSpriteContactWorldY()
c = GetSpriteNextContact()
endwhile
You might be able to use the data retrieved to get what you want?
EDIT: That version is to check for contacts for a specific sprite. You might find using the other version faster:
c = GetFirstContact()
while c>0
spr1 = GetContactSpriteID1()
spr2 = GetContactSpriteID2()
contactx# = GetContactWorldX()
contacty# = GetContactWorldY()
c = GetNextContact()
endwhile