Author Topic: Is there a way to make dragging operation move to an other object while draggin?  (Read 1621 times)


  • Jr. Member
  • **
  • Thank You
  • -Given: 9
  • -Receive: 0
  • Posts: 74
    • View Profile
I want to have an object created when I'm start dragging from a certain object.
When the object created it should be dragged instead of the object that was initially clicked.
How can I make it happen?


  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Set UIDragDropItem.cloneOnDrag to true. You can also overwrite UIDragDropItem's StartDragging() function in a derived class and specify exactly what gets created and when. Examine UIDragDropItem.StartDragging for more details.