API Reference > Geometry-core > CartesianGeometry > Geometry > clamp clamp MethodStatic Clamp value to (min,max) with no test for order of (min,max) clamp(value: number, min: number, max: number): number Parameter Type Description value number value to clamp min number smallest allowed output max number largest allowed result. Returns - number Defined in Geometry.ts Line 623 Last Updated: 11 June, 2024