YUNOVA · After Effects · Module 13: Advanced expressions

if/else conditions in expressions

Notes for offline study · 30 November 2026

if/else conditions in expressions

Key points

  • Expressions use JavaScript if/else syntax to choose a value.
  • A condition can test time, a slider value or another layer's property.
  • The last evaluated line of the expression becomes the property value.

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.