ui.TextBox

ui.TextBox

class

Single line the player types into

Fields

NameTypeDescription
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)