i want to Drag and Drop object along with its child in Unity 2D

I am trying to make a storyteller game on Unity, now i want to drag a complete object along with its child to drop it somewhere else, but i am unable to do so. I am able to drag and drop it when it does not have a child, but as soon as i assign a child to it. It does not drops to a new position instead it returns to its orignal position. I can share my code if you ask me to.