Garry's Mod Wiki


Panel:SetZPos( number zIndex )


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.


1 number zIndex
The z position of the panel.
Can't be lower than -32768 or higher than 32767.

Page Links

Special Pages



Render Time: 51ms

DB GetPage 6
Generate Html 2
SaveChanges (1) 32
Render Body 0
Render Sidebar 8