Legal age for choosing parent in Illinois

What is the age children must be in Illinois in order to choose which parent they would rather live with? Or, if someone has a resource for me to search that would be fine too. Thanks

This site (which may or may not be correct) says the standard is much the same as it is in Texas: that the wishes of the child, whatever age, are an important factor that must be considered by law, but only one of several in determining the “best interest of the child.” The court will place the child where it should be based on its best interest.

Note: I am a lawyer, but I am not an Illinois lawyer, and not your lawyer. I am not competent to give advice on Illinois family law. If this question is prompted by more than curiosity, you should consult a lawyer licensed to practice in your jurisdiction.

Found this, FWIW.

Second the motion that if you’re having custody issues in your life, you hire a lawyer. There’s a limit to how much help we can give you here.

Thanks, I appreiciate the info!