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

What is Framer? Join the Community
Return to index
Guus Baggermans
Posted Nov 16 - Read on Facebook

Hey Guys,

I'm trying to create a prototype with an automatic time-out after 5 seconds of no interaction. Right now I have a function that cancels the time-out when any button is touched, but this creates a lot of code duplication. My question:

Can I capture a general Touch Event, that registers when any layer is touched, in stead of making it layer specific?


Jonas Treub

That's what debounce is for:

Guus Baggermans

Jonas Treub Lifesaver!

Jordan Robert Dobson

Awesome. Thanks Jonas... I learned something new today. :D Always wondered about that one. Never had a need for it yet.

Read the entire post on Facebook