MouseClick on Sprite, not on transparent pixel

Hi, I’m working on animating when mouse clicks sprite.

I used BoundingBox and it works well, but when I click on transparent area on Sprite’s image it also works well. That’s the problem.

I used TexturePacker to extract plist file of Sprite with polygon algorithm and polygon outline. So the extracted plist file has vertices and verticesUV values.

Is there a Cocos library that automatically (like create sprite with plist file) build polygon intersection or polygon collision using plist file?

Or should build own library?

Thanks.

Use the texture packer headers to help with this? @AndreasLoew