Skip to content

Instantly share code, notes, and snippets.

@animoplex
Last active August 22, 2022 11:08
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save animoplex/7287181ba9314d09e1e53462aae0b801 to your computer and use it in GitHub Desktop.
Save animoplex/7287181ba9314d09e1e53462aae0b801 to your computer and use it in GitHub Desktop.
Linear Blend - After Effects Expression by Animoplex
// Linear Blend - Created by Animoplex: www.animoplex.com
// Blend between two expressions using a Slider and a linear method.
// Full Tutorial: https://www.youtube.com/watch?v=BOPfs49VfLE
src = thisComp.layer("Control").effect("Blend")("Slider");
a = transform.position;
b = thisComp.layer("Target").toWorld([0,0,0]);
linear(src, 0, 100, a, b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment