Moving objects smoothly when another one collapse

When you make an object collapse, the other objects on the page will take its place by desapearing and appearing at the right spot. I would like to know if it’s possible to instead make those objects move smootly to where they would appear. Thanks a lot!