API Frame SetFrameLevel

provides four functions to control the Frame Level, a z-axis coordinate to position frames in front of each other within an existing Frame Strata. frameLevel = frame:GetFrameLevel frame:SetFrameLevel(frameLevel) frame:Raise frame:Lower
 * GetFrameLevel returns the current value
 * SetFrameLevel manually defines any value from 0 to 10000
 * Raise moves the frame ahead of others within the same strata
 * Lower moves the frame behind others within the same strata

Attribute

 * frameLevel : - Z-axis coordinate between 0 and 10000, within the larger Frame Strata.

Details

 * Raise elevates the frame to a level that puts it ahead of others, while Lower does the opposite
 * Creating two frames, and calling Raise on each, will result in one being higher depending which was called last
 * By default, every frame is drawn just in front of its parent (if it has one); so usually
 * Level has no impact on frames in different strata.
 * SetFrameLevel is equivalent to the XML attribute in