Thanks brother for your reply. I tried the one you shared but still there is some of them is overlapping. Is there a way to get a result like objects not overlapping solid
To avoid overlaps with each other completely is not an easy task. This is an incredibly difficult problem as it quickly becomes highly CPU intensive and chaotic if you dont know how to manage everything that's going on, and is easy to end up with objects getting permanently stuck, for example, pushing each other and not finding a way out, or some pushing others against a wall which they cant end up permanently stuck on that wall. I have tried in the past just a mini test for fun and I quickly recognised how much work and how many edge cases you have to count for.
This is gonna be case per case, depending on how complex is your project you will try one way or the other and keep adjusting and identifying edge cases.
The simplest way to start is by using Timers:
For each Object: call Timer ---------Set Time = (0.5 * loopindex) or something like that and on timer find a path.
The push-out of solids:
Can be a bit junky sometimes when they push out each other as they can fly from one place to the other so you can try and see.
There is not one solution to fit all, it all depends on the project and how perfect you want it to be.
The smoothes I have seen today that the objects dont (fly or get stuck often) is by using Physics which was done by "R0J0hound", so if you dont mind using physics for everything like (Solids & Movement) then you can give it a try.
I can't remember the link but do a quick search on his name you will be able to find it.