How to delete a part of a photo or shape by moving your finger on the screen?

Hi, I had a problem creating a filter, how can I delete part of the drawn shape after drawing the shape by particle system? Let me put it this way, if we have a shape or image on the screen and want to delete part of it with screen pan, what should we do? I have seen in several different filters that this is possible, for example, in one of the effects, the steam formed on the glass was removed by moving the finger on the screen, I would be grateful if someone could help me.

Like this filter

1 Like

Thank you very much for your help and guidance, I will definitely test and I hope to get the necessary answer, I was waiting for this moment, because I made several professional effects that are incomplete due to this part and have not been completed until today, I hope your help will make them all complete