Erase run time

Just wonder, is it possible to erase vector graphics run time…

e.g. you have some dirt over text (vector shape), and then wash it away with the mouse cursor…

Any help appreciated