How to have the object that emmited another object have the object on top of it

Once you do the mouse click it emits the object to cover or go on top of the object it got emmited from. ow do you do that.