macroscript LightPrep category: "TJ_Tools" tooltip: "Light_Prep" buttontext: "Light Prep" ( CollectLightsArray = lights as array LightsArray =#() for eachobj in CollectLightsArray where (superclassof eachobj) == light do append LightsArray eachobj for i in lightsArray do ( if i.ishidden == true then i.on = off if i.ishidden == false then i.on = on ) )