Skip to content

Instantly share code, notes, and snippets.

@MarissaJ
Last active August 24, 2022 02:10
Show Gist options
  • Save MarissaJ/533e220ac5cc653c2e81cf4c00f57aae to your computer and use it in GitHub Desktop.
Save MarissaJ/533e220ac5cc653c2e81cf4c00f57aae to your computer and use it in GitHub Desktop.
After Effects Data Driven Expression- Display Largest Value in a Spreadsheet Column
values = [];
for(i=0;i<=thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")+1;i++) {   
  values.push(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i).value);
}
Math.max.apply(null, values)
@MarissaJ
Copy link
Author

For more on how to use this expression and download a sample After Effects 2019 file here https://www.fluxvfx.com/data-driven-expressions-for-after-effects-2019/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment