When implementing jquery UI draggable, I incorporate certain functionalities within the drag function. One specific task is scaling the dragging element based on its position. I am looking to automate the dragging of elements to specific coordinates (x, y) similar to jquery's animate({left:x, top:y}, 1000));
. However, I also want to trigger the drag function and scale the element while it is animating. How can I accomplish this?