Copy link to clipboard
Copied
Is there any sort of layerType property? I can't seem to find anything like that. Basically I want to make a very simple script that goes through the current comp and shuts off any layers that are lights. I can't seem to figure out how to tell if a layer is a light or not though.
You can do something like: if (theLayer instanceof LightLayer)
Copy link to clipboard
Copied
You can do something like: if (theLayer instanceof LightLayer)