View all expressions
Conditional

Clamp Expression

Restricts a property’s value within a specified range.


clamp(value, minValue, maxValue)

Clamp Expression

Practical use case

Ensuring that a layer's scale never goes below 50% or above 150%, no matter what animations or adjustments you apply.

Check out similar expressions

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

a mesh of elegant lines transparent image