And here is a helpful post on how to implement drag and drop of objects in 3D space:
If you search on the forum here you will find more.