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 in accordance with Newton's law of universal gravitation, which states that the gravitational force between two objects is directly proportional to the product of their masses and inversely proportional to the square of the distance between their centers.