Hey all ! Quick fix needed :I have several draggable cards on my screen (similar to Google Primer, or Tinder). When I drag it up, left or right, it goes off screen.
I want to find a way to get the previous card back on the screen when I swipe down (just like Primer does).
I tried this :Card.on Events.DragStart, ->if Card.draggable.direction is “up” # nothingelse # bring card back
but I can’t make it work, as it always returns “up”.Tried the same with Scroll instead, but also failed.
Any quick fix for that ?
Thanks and lovely day to all !