I'm trying to detect the x position of a dragable object using scrollLeft.
using the onDrag:updateDrag I can detect a this.x and set a variable to use it outside of this function but what I can't do is detect the x position of an item that hasn't yet been dragged.
I thought I could use the var drag = Draggable.get("#container"); and then use drag.x but this returns undefined? So I'm guessing I'm not using this correctly.
Is there a way to return the x value before an element had been physically dragged?