In a custody contest, the court will ask the children which parent they would prefer and why. For older children, the court is more likely to pay significant weight to the child's wishes.
For more detailed information, see our related Family Law terms: