Worked perfect thx.
Now I want to auto-anchor the cast bars when Gladius creates the "GladiusClassIconFramearenaN" frame (one for each enemy). So I have been thinking in using hooksecurefunc() to execute the SetPoint() and stuff after that frame is created. But I have come to the problem that this frame is created by the Gladius' ClassIcon Module (by the ClassIcon:CreateFrame() function) which object (ClassIcon) is declared as LOCAL... so I can't hook that function from my addon
. Any workaround for this?