Skip to content

Clamp Integer

Purpose of the Node

The Clamp Integer node clamps an integer value within a specified minimum and maximum range. It is useful for ensuring that a value stays within a certain range, preventing it from going below a minimum or exceeding a maximum.

Pins

Pin NamePin DescriptionPin TypeValue Type
IntegerThe integer value to be clamped.InputInteger
MinThe minimum value that the integer can be clamped to.InputInteger
MaxThe maximum value that the integer can be clamped to.InputInteger
ClampedThe clamped value, which will be within the range specified by Min and Max.OutputInteger