There is a whole mess of incorrect syntax in this. (What does the error message say?)
The If/Else you are telling it just numbers and it doesn’t know what to do with this and will always return an error. Typically something like
if (*expression link*)
{
v=1080;
}
else
{
v=0;
}
value() is not a argument, inside of AE value [with no parenthesis] will return the keyframed value of the property before any expression has been applied. Value is automatically the same array as the property itself.
If you want to use a variable (I assume you want to use v), it has to be defined and have a value.
I don’t know of what Size is a property, but it is an array of 2 and I think that expression is going to return an array of 1.
Try this
if (*expression link*)
{
var=1080;
}
else
{
var=0;
}
[10,var];
I don’t know what that expression links to, but if that value is > 0 this will return [10,1080] and if that value is <=0 then it will return [10,0]