Math:Clamp

Last updated 5 August 2026

Math:Clamp constrains an Int, Float or Timestamp value to a Min/Max range

and emits the clamped value on the output matching the input type.

Pin Info

Input 1: Value [Int, Float, Timestamp]

Input 2: Bound A [Int, Float, Timestamp]

Input 3: Bound B [Int, Float, Timestamp]

1-Value[Int/Float/Timestamp]: The value to clamp. Clamps it to the currentbounds and emits it on the matching output.

2-Bound A[Int/Float/Timestamp]: Sets one of the two bounds (stores, does not emit).

3-Bound B[Int/Float/Timestamp]: Sets one of the two bounds (stores, does not emit).

Output 1: Clamped [Int, Float, Timestamp]

1-Clamped[Int/Float/Timestamp]: Emits the clamped value on theoutput that matches the input value's type.

Node Parameters

The collapsed Node shows the active ranges: Int:[min..max], Float:[min..max], Time:[min..max].

Expand:

Int Bound A / Int Bound B: Integer clamp range.

Float Bound A / Float Bound B: Float clamp range.

FPS: Frame rate used to show/enter the Time range as timecode.

Time Bound A / Time Bound B: Timestamp clamp range (HH:MM:SS.FF).