Activity › Forums › Adobe After Effects Expressions › Can I get the color of a solid via expression?
-
Can I get the color of a solid via expression?
-
Andrei Popa
January 25, 2023 at 12:54 pmHi guys. I am trying to get the color of a solid via expressions and I am a bit lost.
I have tried
thisComp.layer(index-1).source.mainSource.color
thisComp.layer(index-1).source.color
thisComp.layer(index-1).colorIn the documentation I only found properties of general Footage or some JSON properties, but nothing about solids.
-
Filip Vandueren
January 25, 2023 at 2:57 pmAFAIK it’s not accessable, but in a pinch you could ;sampleImage() preEffects
-
Andrei Popa
January 26, 2023 at 10:41 amThanks. I was trying not to use sampleImage() because AFAIK its quite slow, similar to sourceRectAtTime().
Viewing 1 - 3 of 3 posts
Reply to this Discussion! Login or Sign Up
Log in to reply.