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

What is Framer? Join the Community
Return to index
Samuel Barbosa
Posted Aug 19 - Read on Facebook

Hello Everyone,

I wanted to fire a changing of state (like ) when a state has finished to animate his properties. I have search on docs and played few hours but i'm still stuck. I wanted something like:

layers["Background"].on Events.Click, ->
layers["Icon Bar"]
# layers["Icon Bar"].states finish animation then fire
layers["Foo Bar"]

Has anyone an idea on this ?


Andreas Wahlström

layers["Icon Bar"].states.on Events.StateDidSwitch, () -> layers["Foo Bar"]

Samuel Barbosa

Great, I will try to make a cleared example of this, to make it shareable. Thanks.

Read the entire post on Facebook