# Create New Select Language

## Importate Methods

🟢 **GetControlValue( )** *<mark style="color:green;">Get the value of the control to set the language.</mark>*

🟢 **SetControlValue(** int **)** *<mark style="color:green;">Set the value of the control using the language value.</mark>*

🟢 **SelectLanguage( )** *<mark style="color:green;">Select the language according to the value in the control.</mark>*

🟢 **SelectLanguage(float)**, **SelectLanguage(int)**, **SelectLanguage(string)**, **SelectLanguage(bool)** *<mark style="color:green;">Select the language according to the value in the control, only used in Selectable UI elements.</mark>*

## Editor Methods

🟢**InspectorEditorTitle( )** *<mark style="color:green;">Define title that will show in the inspector.</mark>*

🟢**InspectorEditorUpdate( )** *<mark style="color:green;">Method that updates only in GUI Inspector Editor.</mark>*

<figure><img src="/files/bK3edC0XlqKFZc1s5jDa" alt=""><figcaption></figcaption></figure>

## Tutorial

{% embed url="<https://youtu.be/YQfgalfLoNM?list=PLG0ISHtSe2i1s_VMRagwcwixTJSovyK6-&t=342>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rage-machine.gitbook.io/simple-translation/advanced-tutorials/create-new-select-language.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
