Do any of you know how to can i make a single parent obj and that obj will consist of only child with no further child.
And if child have another child detach those child and make them child of the root obj.
here is the image for more detailed understanding.
I know i can do this by recursive checking and then so on… . . but let me know if you some some sort of in built method or any shortcut.