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

What is Framer? Join the Community
Return to index
David Lee
Posted Dec 30 - Read on Facebook

How can I pass values from one event to another without using global variables?
ie. TouchStart to TouchEnd


Koen Bok

Hmm without knowing exactly what you want to do, I'd say something like this:

David Lee
This seems like working when scrolling or swiping slowly. But when trying to scroll fast, the initially touched layer moves left or right a bit as well.
I referred to this example ( but the difference is that I use draggable layers.

Marc Krenn

Not sure if this is related to what you're trying to do, but you can calculate and save variables on the layer itself by using 'custom':

(props to Jordan for pointing this out!)

Nikolay Berezovskiy

Did you mean — share variable from local function to another?

Read the entire post on Facebook