local function M(M,o,I,l,U)local Y=Instance.new("\073\109\097\103\101\076\097\098\101\108")Y.Name=M Y.Image=DPAD_SHEET Y.ImageRectOffset=l Y.ImageRectSize=U Y.BackgroundTransparency=1 Y.Size=I Y.Position=o Y.Parent=DPadFrame return Y end local function o()return Vector2.new(DPadFrame.AbsolutePosition.x+DPadFrame.AbsoluteSize.x/2,DPadFrame.AbsolutePosition.y+DPadFrame.AbsoluteSize.y/2)end
--
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
