Change the draggable Function to work on click event.

Change the draggable Function to work on click event.

I want to make the  Jquery UI draggable  to work on the click event. Like i want to click on the item it added to the canvas area. This is the code for a  html builder  i want to update the functionality of that builder Need help.