Get vertex affected by recent vertex paint

I’m looking for a way to flag the vertex affected by the most recent left click by the brush in vertex paint mode.

Seems easy enough to say… the paint is changing so that vertex MUST be in the data somewhere…

Any help/inspiration much appreciated.