Fandom

WoWWiki

API Region ClearAllPoints

104,669pages on
this wiki
Add New Page
Talk0 Share
Widget API ← Region < ClearAllPoints

Removes all anchor points associated with this Region.

region:ClearAllPoints();

Arguments Edit

none

Returns Edit

none

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

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki