Howdy! I was looking into this, and I wanted to know if anyone with experience in this field knows why this causes the UI to jump up whenever you first start dragging each time? (behavior only With IgnoreGuiInset enabled)
local function update(input)
local delta = input.Position - dragStart
local newXOffset = startPos.X + delta.X
local newYOffset = startPos.Y + delta.Y
local x = math.clamp(newXOffset, 0, baseClip.AbsoluteSize.X - mainClone.AbsoluteSize.X)
local y = math.clamp(newYOffset, 0, baseClip.AbsoluteSize.Y - mainClone.AbsoluteSize.Y)
mainClone.Position = UDim2.new(0, x, 0, y)
end