Can my child be used as a witness in court relative to our divorce proceedings?

If the child is deemed to be of mature age and able to give reliable and consistent testimony, then eligibility to testify with respect to grounds for divorce and custodial issues can be granted by the judge.