       h : $el.outerHeight no
       n : @constructor.name
     }
+
+  getScale: ->
+    return @element.getBoundingClientRect().width / @element.offsetWidth
 
   setRandomBG:->@getDomElement().css "background-color", KD.utils.getRandomRGB()
 


      dragState = @dragState

      if options.containment

        dragState.containment = {}

    dragGlobDir  = dragDir.global
    dragCurDir   = dragDir.current
    {axis}       = @getOptions().draggable

    if parentScale
      x = x * 1 / parentScale
      y = y * 1 / parentScale

    draggedDistance = if axis
      if axis is "x" then Math.abs x else Math.abs y
