As an alternative to trick-or-treating we had a little costumed Halloween hunt around the house, Easter Egg style, but with little pumpkins full of candy. Ezra got to be a robot.
We still had lots of trick-or-treaters, with many neighbours opting for distanced distribution systems like candy slides. I just spread out treats on a folding table out on the front lawn with some hand sanitizer, disinfecting regularly with alcohol from a spray bottle, then standing off at a distance in my Star Trek redshirt, telling trick-or-treaters to “Live long and prosper and sanitize your hands” as a full Halloween moon rose to the East.