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

What is Framer? Join the Community
Return to index
Craig Murray
Posted Nov 06 - Read on Facebook

I'd like to store original values for all properties (opacity, rotation etc.) much like Cemre Güngör suggested with position. My goal is to later revert to these original values after an event fires.

However, I have no idea how to capture that to call on later. Any ideas? Thanks much.


Koen Bok

myView.originalProperties =

Koen Bok

Then, you can access them all later like this: myView.opacity = myView.originalProperties.opacity

Aaron Carámbula

wow, learned something today.

Craig Murray

Awesome. Thanks, Koen Bok

Read the entire post on Facebook