The measurement that is affected by gravity is weight.
Weight is the force exerted by gravity on an object, and it can vary based on the strength of the gravitational field. In contrast, mass is a measure of the amount of matter in an object and remains constant regardless of the gravitational field. Density and inertia are also not directly affected by gravity.