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

What is Framer? Join the Community
Return to index
Michael McLaughlin
Posted Jun 24 - Read on Facebook

Hi everyone,
I have an issue where I want to trigger layerA.states.switch(stateB) but when that animation is complete automatically move to stateC and then stop. Is this possible?


Brian Williams

Aside from the question of why are they separate states at all ... cant you just test for the state and then call the switch once it meets the condition.

Unless an event is fired on state "completion" I can have a look in the morning if it hasnt been answered by then.

Jonas Treub

Brian is exactly right. Here is an example:

Michael McLaughlin

Jonas Treub Brian Williams This is exactly what I was looking for. Thanks for the help!

Read the entire post on Facebook