Panel/SetZPos

From Garry's Mod
Jump to: navigation, search
 Panel:SetZPos( )

Description

Sets the panels z position which determines the rendering order.

Panels with lower z positions appear behind panels with higher z positions.

This also controls in which order panels docked with Panel:Dock appears.

Arguments

number zIndex

The z position of the panel.

Can't be lower than -32768 or higher than 32767.
Personal tools
Navigation