Garry's Mod Wiki


DMenu:Open( number x = gui.MouseX(), number y = gui.MouseY(), any skipanimation = nil, Panel ownerpanel = nil )


Opens the DMenu at the current mouse position


1 number x = gui.MouseX()
Position (X coordinate) to open the menu at.
2 number y = gui.MouseY()
Position (Y coordinate) to open the menu at.
3 any skipanimation = nil
This argument does nothing.
4 Panel ownerpanel = nil
If x and y are not set manually, setting this argument will offset the y position of the opened menu by the height of given panel.

Page Links

Special Pages



Render Time: 78ms

DB GetPage 45
Generate Html 9
SaveChanges (1) 9
Render Body 0
Render Sidebar 12