Greed spell effect

Hi,

Does the “Greed” effect happen when the gems are on t he board? Or Once they’re destroyed?

Thanks!

After their destroyed.

Thanks. This is Overlord Jones by the way.