Widget API ← Region < ClearAllPoints

Removes all anchor points associated with this Region.


Arguments Edit


Returns Edit


Details Edit

There are no API functions which would alter an existing anchor point of a frame. So if you do want to change an anchor point (say, you want to move your frame), you should :ClearAllPoints() first, and then reanchor your frame using :SetPoint().
Note that right after :ClearAllPoints() call your frame will disappear from screen, since WoW cannot display non-anchored objects.

See also Edit

Community content is available under CC-BY-SA unless otherwise noted.