I am looking for some script/function to select child/parent with multiple objects selected. Basically going up or down in a hierarchy mapped to a shortcut. I have found one script for selecting parents without having to go to the object manager. Look below
Now I need one with the same functionality but that works on children. Can anybody help me out?