Sets the frame layer for this native element. 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.
Native:SetLayer(layer) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
layer | parameter | number | The new layer for this frame. |