Skip to content

Instantly share code, notes, and snippets.

@psql
Created January 8, 2014 23:24
Show Gist options
  • Select an option

  • Save psql/8326654 to your computer and use it in GitHub Desktop.

Select an option

Save psql/8326654 to your computer and use it in GitHub Desktop.
Scale based on x position threshold
L = thisComp.layer("circle 25");
childPos= L.toWorld(L.anchorPoint);
if (childPos[0] < 200){
[100,100];
}
else{
[50,50]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment