Material That is only visible when light hits it?

Hi! Does anybody perhaps know how I would go about creating a material that is only visible when a light source hits it? So the moment an object is unlit by say a spotlight, it becomes completely invisible?