Affect
From Teflpedia
Affect (/əfekt/) is attitudes, emotions, and values present in an educational environment[1]
Language can also have affect[2]
The affective filter hypothesis, which is pretty much accepted theory now, says that students won’t learn if they are negatively affected.
Usage note: the word affect is often confused with effect, which is sometimes but not always a homophone, including by native English speakers[3]