how to get position on an underlying group associated with a point on an overlay group?

Is there a way in Corona to  get position on an underlying group associated with a point on an overlay group?

Background: Say you have:

  • Group 1: which is a matrix of image tiles, then over the top of this you overlay 

  • Group 2: which has a cross hair in the middle

  • Assume Group 1 can be moved around (swipe)

How would you get the underlying Group 1 image tile which is directly below the crosshair, and the relative position the point finds on the cross hair.  For example the result might be:  Tile 23, a position of 10 pixcel to the right and 15 pixcel down from the top/left of the tile.   It’s kind of projecting a point from one display group to another…

These two functions might be of use to you:

http://docs.coronalabs.com/api/type/DisplayObject/localToContent.html

http://docs.coronalabs.com/api/type/DisplayObject/contentToLocal.html

ok thanks - I see what you mean 

These two functions might be of use to you:

http://docs.coronalabs.com/api/type/DisplayObject/localToContent.html

http://docs.coronalabs.com/api/type/DisplayObject/contentToLocal.html

ok thanks - I see what you mean