Region:SetDrawLayer

From Warcraft Wiki
Jump to navigation Jump to search

Sets the layer in which the region is drawn.

Region:SetDrawLayer(layer [, sublevel])

Arguments

layer
string : DrawLayer - Layer to draw the region in, e.g. "BACKGROUND" or "ARTWORK".
sublevel
number? = 0 - Integer between -8 and 7 (inclusive) from back to front, further subdividing each layer.

Details

  • FontStrings are always drawn above other regions sharing the same layer.