BlzFrameSetLevel
- Parameters
frame framehandlelevel integerbigger 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
StringandTexturechildren have fixed internal layers.- bug
In some cases, changing the level after setting alpha value with native
BlzFrameSetAlphacan reset the alpha to 255 (fully opaque).- bug
Level values above
9for visible SimpleFrames crash the game.- bug
Do not call this native on
StringorTexturechildren 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