clamp(n: number, min: number, max: number): number

Return a value clamped to an inclusive range of min and max.
kaplay logo