> For the complete documentation index, see [llms.txt](https://ferdowsur.gitbook.io/modular-3d-text/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ferdowsur.gitbook.io/modular-3d-text/ui/input-field/script-documentation/updatetext.md).

# UpdateText

Method in InputField.cs

Automatically opens the touchscreen keyboard when trying to update the text.

*Directly assigning the Text property makes a sound If it has both Audioclip and Audio Source.*

## *<mark style="color:yellow;">UpdateText ()</mark>*

## *<mark style="color:yellow;">UpdateText (string newText)</mark>*

Assigns a new string to the text without sound.

## *<mark style="color:yellow;">UpdateText (int newTextInt)</mark>*

Converts the int to a string and assigns the new string to the text without sound.

## *<mark style="color:yellow;">UpdateText (float newFloat)</mark>*

Converts the int to a string and assigns the new string to the text without sound.
