The ball will have the greatest potential energy at 1. when the ball reaches its highest point.
Potential energy is determined by the height of the object above a reference point (usually the ground). At the highest point in its path, the ball has reached its maximum height, which means its potential energy is at its maximum. As it rises, its potential energy increases, and after reaching the highest point, it begins to decrease as it falls back down.