In mediation, you are the one who decides on the topics for discussion and you are the one who decides if any proposed solutions could work for your family. In Court, a Judge decides what is best for your family, based on who makes the best legal argument on the day.
At mediation, it is assumed that you know your family best and that together, you and your ex-spouse know your children best.