What measurement of the space star depends on the distance of the star from Earth apparent magnitude luminosity surface temperature absolute magnitude

The apparent magnitude and absolute magnitude of a star depend on its distance from Earth.