If the custody cannot be agreed upon, the judge will appoint guardian ad litem to represent the best interests of your children. The courts require mediation to resolve child custody disputes, before the final trial. Using mediation is often less stressful, less expensive, and faster than traditional litigation. Unless there is an extreme case involving violence or abuse, courts usually favor child spending some time with both parents.
https://www.paulschwartzlaw.com/child-custody
…