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

What is Framer? Join the Community
Return to index
Propeller Katapulsky
Posted May 19 - Read on Facebook

me again with a question regarding the bounce function in the framer2 template: how could i achive that i only can click and bounce each element once and if i click it a second time to get an alert ("already had me bouncing!")? i suppose this is pretty basic javascript but at the moment my brain does not help me :)

1 Comments

Koen Bok

You can do something like:

if (layer.lanimations().length > 0) {
alert("hi")
}

Read the entire post on Facebook