-
One expression that will work on one dimension or two?
I’m trying to come up with an expression that will work on properties that have one dimension or two dimensions. Here’s what I can up with, but it doesn’t work. I still get an error message. Maybe the catch(err) technique doesn’t work in this case?
temp = thisComp.layer("Drive").effect("Drive")("Output 01");
try{
[temp, temp];
}catch(err){
temp;
}