Skip to content

melon.panels

garryspins edited this page Feb 27, 2026 · 4 revisions

melon.panels


client link

Misc panel helpers
melon

Functions

melon.panels.DebugLine

client link
melon.panels.DebugLine(x: number, y: number, p?: Panel, id?: string)

Argument and Return information

Arguments

# Name Type Description
1 x number X Coord to put the line at
2 y number Y Coord to put the line at
3 p? Panel Panel this line is relative to
4 id? string String to render next to this line

Creates a line rendered on screen until the next melon.Debug call

melon.panels.DebugPaint

client link
melon.panels.DebugPaint(Panel, w: number, h: number)

Argument and Return information

Arguments

# Name Type Description
1 Panel Panel Panel to render on
2 w number Width of the panel
3 h number Height of the panel

Render a panel with some useful information about it

Clone this wiki locally