how to drag element automatically jquery ui
<p>I'm using jquery UI draggable. I do some works in drag function. for example I scale the dragging element according to it's position. I want to drag elements automatically to certain (x, y) (something like jquery <code>animate({left:x, top:y}, 1000));</code> but I want to trigger drag function and scale element when is animating. how can I do this?</p>