Sets the level at which the frame is layered relative to others in its strata. Frames with higher frame level are layered "in front of" frames with a lower frame level. When not set manually, a frame's level is determined by its place in the frame hierarchy -- e.g. UIParent's level is 1, children of UIParent are at level 2, children of those frames are at level 3, etc.

Signature:

level = Frame:GetFrameLevel()

Returns:

  • level - Layering level of the frame relative to others in its frameStrata (number)