The measurement that is affected by gravity is weight.
Weight is the force exerted by gravity on an object, and it can change depending on the strength of the gravitational field in which the object is located. In contrast, mass is a measure of the amount of matter in an object and does not change regardless of gravitational effects.