View all expressions
Conditional

Change Value Based On Position

Changes any value of a layer based on the position


if (position[1] > 500) {
   value * 0.5;
} else {
   value;
}

Change Value Based On Position

Practical use case

Changing the opacity of a layer if it crosses a certaing position.

Check out similar expressions

Data-driven video workflows for After Effects are easier with Plainly.

a mesh of elegant lines transparent image