Position potentiometer
WARNING: This page does not describe the selected car, but rather 7 other vehicles, including the 2017 BMW X3, 2016 BMW X3, 2015 BMW X3, 2014 BMW X3, and 2013 BMW X3. However, it is still accessible from the selected car via links, so may be relevant.
The mirror glass is adjusted horizontally and vertically by separate motors. The motors have a position potentiometer. The potentiometers recognize the position of the motors and return this information.