-
source text as empty
Im trying to have a solid layer look at the Source Text of a text layer. If the text layer is empty (meaning its blank with no characters) then i want the solid to move to a certain position. If there is any text at all it would stay put.
What is the syntax for an empty source text. This is what i have.
UPDATED- i forgot to have == in the if statement instead of =
textlayer = thisComp.layer("tsttext").text.sourceText
if (textlayer == "" ){
[960,840]
}else{
position
}