Can't seem to use PropertyValueType
Posted: December 3rd, 2005, 7:35 am
I don't really know how to use "PropertyValueType" is an expression
I want to create a script that works for every property type that exist in after effects.... (it's just a fade in/out)
It's annoying to create an expression for each type.
I've been trying things like this... but, it doesn't work :/
I want to create a script that works for every property type that exist in after effects.... (it's just a fade in/out)
It's annoying to create an expression for each type.
Code: Select all
if(thisProperty.PropertyValueType == oneD) {
result
} else {
if(thisProperty.PropertyValueType == TwoD) {
[result,result]
} else {
[result,result,result]
}
}