A small pack of console commands for vgui development in Garry's Mod.
Written in Yuescript, compiled Lua code can be found in releases and lua branch, or you can compile it yourself using compiled Yuescript Compiler.
vgui_remove <pattern>
- allow you removevgui
panels usingpatterns
vgui_remove_all <pattern>
- same asvgui_remove
, but for all panels including children.vgui_list <start pos/end pos> <start pos/end pos>
- outputs the list of all valid panels to the console, you can specify the length of the output list or the start and end points in the list.vgui_find <pattern>
- display the list of found panels usingpatterns