Skip to content

gui.Listbox

Syntax

gui.Listbox(parent, varname, height, options) → int

Parameters

parentGuiObject
A gui object.
varnamestring
Varname of this object.
heightint
Interger value for the height of the box.
string
Value of the item(s).

Returns

the selected index value of the item starting with 0.

Appears in: Listbox GUI