An anxiety disorder in which a person, typically a child, is unable to speak in certain social settings despite being able to speak in others.