The white spots viewed on the fly agaric are actually not a part of the cap at all!
Many fungi’s fruiting bodies form inside a small sac, which when it breaks open becomes the universal veil. It's actually pieces of this sac that stick to the cap of the fly agaric becoming the appearance of white spots! If you were to touch the cap the spots would wipe off quite easily