Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Linear Counterbalance
// Linear Counterbalance
s = thisComp.layer("Control").effect("Slider Control")("Slider");
a = transform.position;
b = thisComp.layer("Null").toWorld([0,0,0]);
linear(s, 0, 100, a, b)
// Adjust a Slider Control (from 0 to 100) to balance between two values (a and b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment