Selectable

This type represents a selectable control.

circle-info

This type inherits Control type. All of its base methods and fields are also available in this type.

__call

Constructor

Constructs the selectable.

Arguments

Name

Type

Description

id

ControlID|string

Control ID.

str

string

Text string.

Returns

Type

Description

Selectable

Selectable object.

Example

local sel = gui.Selectable(id, 'Hello!');

text

Field

Type: string

Last updated