-
If else loop not working in Text Source
Trying to create an error dialogue for a template using a text layer that appears if a critical layer is missing.
Currently I have this:
BG = "Background_Layer missing";
PoV = "PoV_Mover missing";if(thisComp.layer("Background_Layer") == null){
BG;
}else if(thisComp.layer("PoV_Mover") == null){
PoV;
}else{
"ERROR";
}When I delete one of the critical layers, the text source only displays whats input into the text source not dynamically based on the condition like I want. Any ideas?