The true statement about the variables that affect the force of gravity between two objects is:
Force of gravity is affected by the masses of the objects and the distance between their centers.
This is based on Newton's law of universal gravitation, which states that the gravitational force between two masses is directly proportional to the product of their masses and inversely proportional to the square of the distance between their centers.