If you wish to detect if a ccpoint in inside a sprite rectangle in Cocos2D-HTML5, checkout this quick snippet:
http://gamedevuniversity.com/cocos2d-html5-detect-if-sprite-has-been-touched/
If you wish to detect if a ccpoint in inside a sprite rectangle in Cocos2D-HTML5, checkout this quick snippet:
http://gamedevuniversity.com/cocos2d-html5-detect-if-sprite-has-been-touched/