ui.TextBox
classSingle line the player types into
Fields
| Name | Type | Description |
|---|---|---|
| text | string | Current UTF-8 text |
| hint | string | Greyed text shown while the field is empty |
Functions
ui.TextBox:focus()
Give the field keyboard focus
Inherited from ui.Widget (1)
- visible Hidden widgets keep their place in the tree and take no input
Inherited from Object (5)
- name Object name
- Object.find(name) Find an already loaded object by name
- Object.cast(object) Trying to cast Object into Object
- Object:get_class() Class of this object
- Object.get_class() Return Object class object