This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Joe Day
Posted Oct 03 - Read on Facebook

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?


Jorn van Dijk

layer = new Layer

layer.onTap ->
print event.offsetTime

Jorn van Dijk

If you don't specify start or stop it listens the whole time. Makes sense?

Read the entire post on Facebook