Beta Documentation - Subject to change.

Sets the Z order of the control.

Syntax

Lua
function Control:SetZOrder(value);

Parameters

value
Type: number
The new Z order of the control.

Remarks

This will set the current Z ordering of the control. Controls with higher Z orders will render on top of controls with lower values.

See Also