Below code will not fire touch event
node.scale= new Vec3(0, 0);
node.on(Node.EventType.TOUCH_START,function(e){
//this event does not work as scale apply runtime
});
Following code will fire touch event as scale not apply runtime
node.on(Node.EventType.TOUCH_START,function(e){
//this event will work as scale does not apply runtime
});
Let me know there is specific reason behind this. I am using editor 3.5.1
Note: I am using chrome browser to simulate the game.