Most often, no.  Actually, it is discouraged to involve the child in court proceedings.