hi everyone,i get in the way on how to get event target.example: in the layer,click the mouse,how to get the target of click.
How to get event target in cocos2d-html5
Sorry, you can’t get event target directly without register.
Touch event are processed by layer.
You could addTargetedDelegate to TouchDispatcher, and then it will dispatch touch event to your registered target.