Yes, that’s the function i found.
But this function is used each time a GameTooltip is created.
I tried hooking this function but i get an error about the parent in the SetOwner line… That’s why i came hear for help.
I tried to post-hooking by doing this (TracerFunction is the table where i put all my functions) :
function TracerFunction:postHook(tooltip, parent)
tooltip:ClearAllPoints();
tooltip:SetPoint("CENTER","UIParent","CENTER",0,0);
end
hooksecurefunc("GameTooltip_SetDefaultAnchor", TracerFunction.postHook);
But, when i mouseover a spell on my actionbars, all my spells move…