return function()if tick()-lastCalcTick<=.05 then return lastCalc end local S=camera.ViewportSize local G=S.Magnitude local E=math.clamp(G/1800,.33,1)lastCalc=E lastCalcTick=tick()return E end



return function()
	--- Return cache
	if tick() - lastCalcTick <= 0.05 then
		return lastCalc
	end
	
	--- calc
	local resolution = camera.ViewportSize
	local resolutionScale = resolution.Magnitude
	local scale = math.clamp(resolutionScale / 1800, 0.33, 1)
	
	--- Cache
	lastCalc = scale
	lastCalcTick = tick()
	
	--
	return scale
end
