⚙️ControlID

This type represents a control ID.

circle-info

This type is mostly deprecated and can be replaced by strings on all control constructors.

local cb = gui.Checkbox('my_checkbox_id') -- Auto converts into ControlID

__call

Constructor

Constructs the ID structure.

Arguments

Name

Type

Description

id

string

ID.

Returns

Type

Description

ControlID

ID structure.

Example

local id = gui.ControlID('my_id');

id

FieldRead only

Type: int

Hashed representation of the ID.


idString

FieldRead only

Type: string

Normal representation of the ID.

Last updated