I am working on cocos creator 1.9.0.
I try to do the mac’s dock with touch inputs but when i use Node.on().
The current target is allways the same node even when i move my finger out of any node.
Here is my code:
this.node.on(cc.Node.EventType.TOUCH_MOVE, function (event) {
var touches = event.getTouches();
if (touches.length === 1) {
cc.log(event.getCurrentTarget());
}
}, this.node);
Thanks for the help