Turning light on and off

Hi, I have a scene where I can walk into a room and turn the lights on and off with a switch. I have the lights set up as movable. Because I do not want the light baked into the scene the shadows and light need to be dynamic. The objects which the lights hit are not casting shadows. I have played around with a bunch of setting options. But I still can not get static objects to cast shadows with the movable lights. Is there a fundamental set up for this?



I fixed it. Just needed to toggle on cast dynamic shadows for each light. But after I built the lighting the playback was slow. So I am tuning it back off.