Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Try Catch Statement - After Effects Expression by Animoplex
// Try Catch - Created by Animoplex:
// Checks to see if a property, effect, layer, comp, or object exists.
// Note: Works like if/then statement, except if the try fails, it does not break the expression.
// Full Tutorial:
try {
thisComp.layer(index + 1).value;
} catch(err) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment