Material that is only visible in certain light

So i was wondering what would be best way to create something like the topic says. Lets say we have a character and only a specific part of that character should be visible. The visible part should be where the light hits (players flashlight).

Any logical way to create something like this?