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

What is Framer? Join the Community
Return to index
Kyungsik Yoon
Posted Feb 23 - Read on Facebook

Hi, folks. I am trying make a component draggable on "tap and hold" event. Similar behaviour can be found on iOS home screen icons where user tap and holds and start dragging an icon. Any help is appreciated, thanks in advance~


Benjamin Den Boer

Hey Kyungsik Yoon — using LongPress & LongPressEnd should get you there. :-)

layerA = new Layer

layerA.onLongPress ->
____layerA.draggable.enabled = true

layerA.onLongPressEnd ->
____layerA.draggable.enabled = false

Read the entire post on Facebook