You cant do that stuff since it'll taint the whole UI.
Try this:
Lua Code:
if DebuffButton_UpdateAnchors then
hooksecurefunc("DebuffButton_UpdateAnchors", function()
local d = _G.DebuffButton1
if d then
d:SetMovable(true)
d:SetUserPlaced(true)
d:ClearAllPoints()
d:SetPoint("TOP", PlayerFrame, "BOTTOM", 98, -10)
d:SetMovable(false)
end
end)
end