I need a timer onTapStart that I can feed into Utils.modulate for the duration that I am pressing.
When I do this:
layer.onTapStart -> print event.offsetTime
It prints once at the moment the event changes. What I need is the ability for it to print the entire time I'm pressing.
I'm guessing the answer is obvious, but I can't seem to track it down. Anybody know?
layer = new Layer
layer.onTap -> print event.offsetTime
If you don't specify start or stop it listens the whole time. Makes sense?