Drag, and place on top

hi, I’m making a movie which includes dragging. But when I drag object 1 on object 2 it disapears. (object 2 is above object 1) is there a script what makes the last released object on top of the other objects?
I hope you can understand my question. :stuck_out_tongue:
Greetings, Dirk