However, there are several factors that help the courts in determining custody arrangements. (nycfamilycourtlawyers.com)
From that standpoint, the court determines custody based on the emotional, physical, and moral health and needs of the child. (info.legalzoom.com)
Similarly, a court may see adultery or cruelty as evidence of poor judgment and inadequate parenting, and take this into consideration when determining a custody arrangement. (info.legalzoom.com)