How does the height the waterfalls from affect potential energy?

The height of a waterfall directly affects its potential energy because potential energy is directly proportional to the height and mass of an object. When water falls from a greater height, it gains more potential energy due to the increase in gravitational potential energy. This means that waterfalls with a greater height have more potential energy and can generate more power if harnessed for hydroelectricity generation.