Go to advanced search
Code: Select all
function clamp(v,a,b) return (v < a and a) or (v > b and b) or v end