local function z(z,h,U,k,V)local b=Instance.new("\073\109\097\103\101\076\097\098\101\108")b.Name=z b.Image=DPAD_SHEET b.ImageRectOffset=k b.ImageRectSize=V b.BackgroundTransparency=1 b.Size=U b.Position=h b.Parent=DPadFrame return b end local function h()return Vector2.new(DPadFrame.AbsolutePosition.x+DPadFrame.AbsoluteSize.x/2,DPadFrame.AbsolutePosition.y+DPadFrame.AbsoluteSize.y/2)end
--[[ Local Functions ]]
--
local function createArrowLabel(name, position, size, rectOffset, rectSize)
	local image = Instance.new("ImageLabel")
	image.Name = name
	image.Image = DPAD_SHEET
	image.ImageRectOffset = rectOffset
	image.ImageRectSize = rectSize
	image.BackgroundTransparency = 1
	image.Size = size
	image.Position = position
	image.Parent = DPadFrame

	return image
end

local function getCenterPosition()
	return Vector2.new(
		DPadFrame.AbsolutePosition.x + DPadFrame.AbsoluteSize.x / 2,
		DPadFrame.AbsolutePosition.y + DPadFrame.AbsoluteSize.y / 2
	)
end
