Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API Region SetAllPoints

From WoW Classic Wiki

Sets an object to be positioned and sized exactly the same as another object.

MyObject:SetAllPoints(frame or "frameName") 

... is exactly equivalent to:

MyObject:SetPoint("TOPLEFT",frame ,"TOPLEFT",0,0)
MyObject:SetPoint("TOPRIGHT",frame ,"TOPRIGHT",0,0)
MyObject:SetPoint("BOTTOMLEFT",frame ,"BOTTOMLEFT",0,0)
MyObject:SetPoint("BOTTOMRIGHT",frame ,"BOTTOMRIGHT",0,0)
  • See Region:SetPoint()
  • frame may be given as nil to anchor relative to the whole screen.