The measurement of a star that depends on the distance of the star from Earth is apparent magnitude.
Apparent magnitude measures how bright a star appears from Earth, which varies with distance. In contrast, absolute magnitude is a measure of a star's intrinsic brightness at a standard distance (10 parsecs). Surface temperature and luminosity do not directly depend on distance.