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

What is Framer? Join the Community
Return to index
Liu Zhou
Posted Apr 29 - Read on Facebook

How to detect Pan Event on the whole screen??
While practicing the 3D rotating example, (
I find the PanEvent only triggered when drag the Container Area and the Tappable Card. How can I apply the PanEvent to the whole screen?
Also, any suggestions on turn toggle events? I current use this. It works, but doesnt feel right.
# add listener
layer.on Event, (event)-> handler(event)
handler = (event) ->
doing something
# turn off event Event
# turn on again
layer.on Event, (event)-> handler(event)


Marc Krenn

Framer.Device.screen.onPan -> print "I totally capture the whole (Device) screen ;)"

Liu Zhou

any suggestions on turn on/off event ? It seems quite awkward

Read the entire post on Facebook