local n=true local U=false local G=nil local y=false local function h(n)if G and not y then if n then G.Size=UDim2.new(1,0,.6,0)G.Position=UDim2.new(0,0,0,0)else G.Size=UDim2.new(1,0,.5,-18)G.Position=UDim2.new(0,0,0,0)end end end
-- Reset the camera look vector when the camera is enabled for the first time
local SetCameraOnSpawn = true

local hasGameLoaded = false

local GestureArea = nil
local GestureAreaManagedByControlScript = false

local function layoutGestureArea(portraitMode)
	if GestureArea and not GestureAreaManagedByControlScript then
		if portraitMode then
			GestureArea.Size = UDim2.new(1, 0, 0.6, 0)
			GestureArea.Position = UDim2.new(0, 0, 0, 0)
		else
			GestureArea.Size = UDim2.new(1, 0, 0.5, -18)
			GestureArea.Position = UDim2.new(0, 0, 0, 0)
		end
	end
end
