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

What is Framer? Join the Community
Return to index
Jon Madison
Posted Sep 14 - Read on Facebook

strategies for preventing multiple fast clicks on a layer making animations go sour. Go!


Jon Madison

already have:

control.addButton.on Events.DoubleClick, (e) =>

Jordan Robert Dobson

You could have a flag that gets reset after a delay...

tooSoon = false

btn.onClick ->
return if tooSoon
tooSoon = true
Utils.delay .5 -> tooSoon = false

George Kedenburg III

do you only want it to happen once? or do you want it to not happen too much?

Read the entire post on Facebook