The sensor built in inside mirror detects the headlight of the vehicle behind and automatically changes the light transmission to decrease the brightness.