Is there a way to check if a layer has a source that's an imported still image?

I tried Layer.hasVideo but that returns true for everything that has an eyeball icon, including text, solids, etc.

I am trying to write an expression that goes through all layers in the comp, and need to target only layers which have a still image source.

  • Might be useful to explain why you want to do it, in case there's another way to achieve the same outcome?
    – tomh
    Oct 14 at 9:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.