function ScreenSpace.ViewSizeX()local M=PlayerMouse.ViewSizeX local V=PlayerMouse.ViewSizeY if M==0 then return 1024 else if M>V then return M else return V end end end function ScreenSpace.ViewSizeY()local M=PlayerMouse.ViewSizeX local V=PlayerMouse.ViewSizeY if V==0 then return 768 else if M>V then return V else return M end end end
-- Getter functions, with a couple of hacks for Ipad pre-focus.
function ScreenSpace.ViewSizeX()
	local x = PlayerMouse.ViewSizeX
	local y = PlayerMouse.ViewSizeY
	if x == 0 then
		return 1024
	else
		if x > y then
			return x
		else
			return y
		end
	end
end

function ScreenSpace.ViewSizeY()
	local x = PlayerMouse.ViewSizeX
	local y = PlayerMouse.ViewSizeY
	if y == 0 then
		return 768
	else
		if x > y then
			return y
		else
			return x
		end
	end
end
