function clamp(t,i,o)return math.max(t,math.min(i,o))end function ClampVector2(t,i,o)return Vector2.new(clamp(t.x,i.x,o.x),clamp(t.y,i.y,o.y))end

function clamp(low, high, input)
	return math.max(low, math.min(high, input))
end

function ClampVector2(low, high, input)
	return Vector2.new(clamp(low.x, high.x, input.x), clamp(low.y, high.y, input.y))
end
