When a Pennsylvania court is handling a child custody portion of a divorce proceeding, the primary consideration is the best interests of the child. The court weighs factors that affect the safety of the child, whether the child would require relocation and the child's school situation, among other considerations. In addition to interviewing the child's parents, the court may also speak with the child or a representative of the child to glean information regarding custody and visitation rights.
When parents divorce or separate, they have to come up with a child custody arrangement. Unless one parent is unsafe or it is otherwise in the best interests of the children not to spend time with the parent, most parents in Pennsylvania share custody. If, for some reason, one parent is given sole custody of the child, the other parent typically has some kind of rights to visitation, either supervised or unsupervised.