Pause simulation

By running the simulation all happens naturally, but when the first body reaches the ground the pause simulation. I would like your help to when only the last body that is "true" hit the ground the pause simulation.