I'm using jQuery UI and I'd like to set up an object to follow the mouse around until the user clicks on the document. I'm able to setup the object as draggable so that if the user clicks on it, it will drag but what I really want to do is setup the object so that it's draggable by default and then stops being draggable when the user clicks, but can then be picked up again if they click on it a second time. I tried obj.trigger('mousedown'), but it didn't seem to have any effect.
Thanks in advance for any help. c. loki