A difficult logic question!

There are two materials, bloody and clean. By default the place is bloody and dirty. When I hold the collider area in my hand to that place, I want it to pass to the clean material. How can I do that?