Sets the frame layer for this frame. This can be any number. Frames are drawn in ascending order. If two frames have the same layer number, then the order of those frames is undefined, but guarantees no Z-fighting. Frames are always drawn after their parents.
Frame:SetLayer(layer) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
layer | parameter | number | The new layer for this frame. |