Skip to content

UITextInput

UITextInput is a class that allows the user to enter text.

Inherits: UIView

Properties

  • Text: string
  • TextColor: Color
  • JustifyText: TextHorizontalAlignmentEnum
  • FontSize: number
  • IsMultiline: boolean
  • Placeholder: string
  • PlaceholderColor: Color
  • ReadOnlyColor: Color
  • IsReadOnly: boolean
  • FontAsset: FontAsset

Methods

Focus() → nil

Forces the local player to focus on the text input.

Events

  • Submitted: Fires when user submitted the text
  • Changed: Fires when user changed the text
  • FocusEnter: Fires when user focuses on this input field
  • FocusExit: Fires when user defocused from this input field