Temporary custody (interim custody) is granted based on the child’s welfare. The court may allow visitation for the other parent. Schooling, medical needs, and daily care are regulated through interim orders. Final custody is decided at the end of the case or through settlement.