BlzFrameSetLevel

Parameters
frameframehandle
levelinteger

bigger number gives a higher position.

comment

For Frame-family UI, reorders sibling frames that share the same parent. There is no global z-index: changing a deeply nested frame's level cannot raise it above an unrelated parent branch. Siblings at the same level follow creation order.

For SimpleFrames, level orders the main SimpleFrame relative to other SimpleFrames. It cannot move a SimpleFrame above Frame-family UI. SimpleFrame String and Texture children have fixed internal layers.

bug

In some cases, changing the level after setting alpha value with native BlzFrameSetAlpha can reset the alpha to 255 (fully opaque).

bug

Level values ​​above 9 for visible SimpleFrames crash the game.

bug

Do not call this native on String or Texture children of a SimpleFrame; doing so can crash the game.

patch

1.31.0.11889

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
nothing
Source code
native BlzFrameSetLevel                            takes framehandle frame, integer level returns nothing