This type represents a selectable control.
This type inherits control type. All of its base methods and fields are also available in this type.
control
Constructor
Constructs the selectable.
Arguments
Name
Type
Description
id
control_id
Control ID.
str
string
Text string.
Returns
selectable
Selectable object.
Example
local sel = gui.selectable(id, 'Hello!');
Last updated 1 year ago