# How do I create a draggable UI element?

I want to add in my script a list of this type of element (can you drag), but I don't know how.

row = layout.row()
row.prop/template_Id/?????()

• Drag'n'Drop stuff is coded in C exclusively. Right-click that element, Edit Source: it will tell you that it's not python-scripted. – CoDEmanX Nov 27 '14 at 19:45
• Thank, I hope for some changes in future, I wish to create some library of element (materials, objects, groups etc...) for easy access. A tweaks of Outliner. – Alfonso Annarumma Nov 27 '14 at 21:00
• I seem to remember that FluidDesigner has drag and drop. Maybe this will help: github.com/Andyrexic/fluid-designer-scripts – Mike Pan Dec 15 '14 at 23:34