The party who can provide a better education environment and living environment for the child can be awarded to the other party. Of course, you can also automatically give up the right of custody and say that you will pay the other party's alimony. If the other party agrees, both parties can reach an agreement. If the child is supported by the other party, you can pay the alimony. If the two parties cannot reach an agreement, It can only be determined by the court according to the principle of being beneficial to the child's growth and development