Home:ALL Converter>Can I make make touch events pass through a layer?

Can I make make touch events pass through a layer?

Ask Time:2012-12-09T17:12:18         Author:user1889150

Json Formatter

I'm making a JavaScript game where the goal is to tap animals. When you do it right I show a bonus layer with stars on top of the animal, but the stars also capture touch events when they are visible. Is there any way to make touch events pass right through the stars to the animal below?

Author:user1889150,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/13786122/can-i-make-make-touch-events-pass-through-a-layer
yy