function ScreenSpace.ScreenWidthToWorldWidth(C,Q)local A=ScreenSpace.AspectRatio()local m=math.tan(math.rad(workspace.CurrentCamera.FieldOfView)/2)local L=A*m local Y=ScreenSpace.ViewSizeX()return((-(C/Y)*2)*L)*Q end function ScreenSpace.ScreenHeightToWorldHeight(C,Q)local A=math.tan(math.rad(workspace.CurrentCamera.FieldOfView)/2)local m=ScreenSpace.ViewSizeY()return((-(C/m)*2)*A)*Q end

function ScreenSpace.ScreenWidthToWorldWidth(screenWidth, depth)
	local aspectRatio = ScreenSpace.AspectRatio()
	local hfactor = math.tan(math.rad(workspace.CurrentCamera.FieldOfView)/2)
	local wfactor = aspectRatio*hfactor
	local sx = ScreenSpace.ViewSizeX()
	--
	return -(screenWidth / sx) * 2 * wfactor * depth
end
function ScreenSpace.ScreenHeightToWorldHeight(screenHeight, depth)
	local hfactor = math.tan(math.rad(workspace.CurrentCamera.FieldOfView)/2)
	local sy = ScreenSpace.ViewSizeY()
	--
	return -(screenHeight / sy) * 2 * hfactor * depth
end
