An object’s gravitational potential energy is dependent on its mass, the strength of its gravitational field, and the height of the object. The formula for gravitational potential energy (PE) is given by:
\[ PE = mgh \]
where \(PE\) is the gravitational potential energy, \(m\) is the mass of the object, \(g\) is the acceleration due to gravity (the strength of the gravitational field), and \(h\) is the height of the object above a reference point. The other options listed (shape, temperature, and velocity) do not directly affect gravitational potential energy.