Circular touch target in newImageRect

If I have a png circle in a newImageRect is it somehow possible to only detect taps/touches on the circle itself and not the whole ImageRect?

You need to apply a mask to the image.   See:  http://docs.coronalabs.com/api/library/graphics/newMask.html

There are also a couple of the sample apps that demonstrate masks.

Rob

Wonderful!

Thank you very much!

You need to apply a mask to the image.   See:  http://docs.coronalabs.com/api/library/graphics/newMask.html

There are also a couple of the sample apps that demonstrate masks.

Rob

Wonderful!

Thank you very much!