The court will order a custody evaluation, which involves a psychologist being appointed to evaluate the parties and their children in some cases in Pennsylvania. In cases without a custody evaluation, most often evidence of the child’s preference would come directly from the child.