Switching Lights on/off and switches for changing materials

On the building walk thrus, many of them have a switch were the person can turn the light on and off. Is there some online tutorial on this? Would also like to have a switch to change thru materials for piece of furniture as well. :smiley:

Here’s a basic tutorial, all you need to do is search on Google or YouTube.