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

What is Framer? Join the Community
Return to index
Judah Guttmann
Posted Jul 08 - Read on Facebook

I feel like this should be pretty simple, but I can't figure it out. I am using a bunch of layerA.state.next() but I want the state.next to be on a delay like this sketch.layer.states.next(delay: 0.7) but obviously that doesn't work. So any solutions?

2 Comments

Jeroen Bennink

shouldn't you use: Utils.delay(delay, handler)

Calls a funtion after a delay. Delay is defined in seconds.

Utils.delay 0.5, ->
print "hello"

# Output: "hello", after 0.5 seconds

Read the entire post on Facebook