Touch event in png, press only the visible not the whole picture?

Hi, I was working on an application in which I need to make a “simple” touch, but this time are images with some complex figures and touch event affects the entire area of the image, ie even the transparent part of a png. 

There maybe some new library to help me with this problem?,  i tried using a polygon but the images are very complex. 

any ideas?

Thank you. 

Regards
Nko.

I’m not sure if you want touch events to register on the transparent part of the png or vice versa.

Maybe this will help: http://docs.coronalabs.com/daily/api/type/DisplayObject/isHitTestMasked.html

I’m not sure if you want touch events to register on the transparent part of the png or vice versa.

Maybe this will help: http://docs.coronalabs.com/daily/api/type/DisplayObject/isHitTestMasked.html