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

What is Framer? Join the Community
Return to index
Peter Kubin
Posted Apr 02 - Read on Facebook

is this working for anybody? on my side it just returns 'undefined'.

layerA.on Events.SwipeRight, (event) ->
print event.distance


David Louie

I don't see a distance property in the event object. I see a delta though which might help.

Peter Kubin

thank's a lot!... the console.log(event) is a great source of inspiration... ;¬} ... deltaX and deltaY seem to be working as well and would work for me.
i guess the documentation would need to be updated accordingly since this is where i took the event.distance from.

Koen Bok

I'm sorry, this seems to be outdated. We'll fix this up cc Floris.

David Louie


Read the entire post on Facebook