Hey guys and Gals, I was having some fun this past few weeks with this built from Sketch 3. It's the beginning of an interaction tool for kids. I'm having a hard with the pupil not changing sizes while tapping. I added the:
# Only click on tap moving = false layerB.on Events.TouchMove, -> moving = true
# Must be above of TouchEnd/DragEnd layerB.on Events.Click, -> # print "Click!" if not moving
layerB.on Events.TouchEnd, -> moving = false
but doesn't seem to be working?
Not sure what I'm doing wrong because in a browser it work kinda as intended better than the mirrored Mobile version?