Hello,How could I restrict the area a user can drag something in? I would like to prevent a draggable object from leaving screen boundaries. I tried something like this (for each edge of screen):
layerA.on Events.TouchMove,-> if layerA.x < 0 layerA.x = 0
Maybe try LayerA.draggable.maxDragFrame = Framer.Device.screen.frame
Thanks that worked.