function ScreenSpace.ScreenWidthToWorldWidth(t,Z)local u=ScreenSpace.AspectRatio()local B=math.tan(math.rad(Workspace.CurrentCamera.FieldOfView)/2)local a=u*B local x=ScreenSpace.ViewSizeX()return((-(t/x)*2)*a)*Z end function ScreenSpace.ScreenHeightToWorldHeight(t,Z)local u=math.tan(math.rad(Workspace.CurrentCamera.FieldOfView)/2)local B=ScreenSpace.ViewSizeY()return((-(t/B)*2)*u)*Z end
-- ScreenSize -> WorldSize
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
