Hi Richard, what are you trying to achieve? If you would like to flash only the border of the polygon you could try to use geometry.convertToType(1) (https://qgis.org/pyqgis/master/core/QgsGeometry.html#qgis.core.QgsGeometry.convertToType) to flash only a LineGeometry instead of a polygon. Cheers, Bjoern