Garry's Mod Wiki

Panel:SetDrawOnTop

Panel:SetDrawOnTop( boolean drawOnTop = false )

Description

Makes the panel render in front of all others, including the spawn menu and main menu.

Priority is given based on the last call, so of two panels that call this method, the second will draw in front of the first.

This only makes the panel draw above other panels. If there's another panel that would have otherwise covered it, users will not be able to interact with it.
This does not work when using PANEL:SetPaintedManually or PANEL:PaintAt!

Arguments

1 boolean drawOnTop = false
Whether or not to draw the panel in front of all others.

Page Links


Special Pages


Wikis

?

Render Time: 23ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 6