# Text Input

The **Text Input** **Object** allows the user to add singleline text with a background to their **Project**. It can be completely customized in the [**Attributes**](#attributes).

![Text Input.](/files/FTKilxpfXM8N4CdtJtIU)

## Attributes

The **Object's** **Attributes** can be used to fully customize the **Object**. Explained below, they are:

* [**Transformation**](#transformation)
* [**Text Input**](#text-input)
* [**Text**](#text)
* [**Font**](#font)
* [**Style**](#style)
* [**Tag**](#tag)

### Transformation

![Transformation Attributes.](/files/x8dXjvchRGw3iZsOjq8I)

The `Transformation` **Attributes** deal with placement, rotation, and size in *XY* space. More information can be found [here](/incari-studio/objects-and-types/attributes/common-attributes/transformation.md).

### Text Input

![Text Input Attributes.](/files/ZHHEedErBz55XurBGPa8)

The `Text Input` **Attributes** provide crucial data for a **Text Input Object**.

* `Text` is simply the desired text.

### Text

![Text Attributes.](/files/CStQv6N2ZC2whgusscj5)

The **Text Attributes** offer the user options to customize the **Text**:

* `Color` decides the color of the text.

### Font

![Font Attributes.](/files/5rqYxpDr8UdNh09lwzY8)

The **Font Attributes** offer the user options to customize the **Text Input's** font. Please note that while **Text Inputs** are capable of handling [*variable fonts*](/incari-studio/modules/project-settings/fonts.md#variable-fonts), only the default style will be used, as the configurable **Attributes** are not available for this **Object**.

* `Family` offers three different font types: `Manrope` and `Source Code Pro`. More fonts can be added by the user in [**Project Settings**](/incari-studio/modules/project-settings/fonts.md).
* `Size` determines the size of the font in pixels.

### Style

![Style Attributes.](/files/TSqHdshDisIdrvO1POgN)

The **Style Attributes** offer the user options to customize further visual aspects of the **Text Input**:

* The `Background Color` is the color of the **Text Input** box which appears behind the text.
* `CSS Classes` contain the *CSS* class names of the **Object**.
* `Stylesheet` contains the *CSS* stylesheet of the **Object**. This can override any stylesheet provided in the [**Project Settings**](/incari-studio/modules/project-settings/style.md) or a [**Scene2D**](/incari-studio/objects-and-types/project-objects/scene2d.md). To address these in the **Logic**, please refer to the [**Object 2D Nodes**](/incari-studio/toolbox/incari/object2d.md).

### Tag

![Tag Attributes.](/files/ly2k7Co6xC9D4aL93xjs)

This **Attribute** manages the *tags* for the **Text Input**. See more on *tags* [here.](/incari-studio/objects-and-types/attributes/common-attributes/tag.md)


---

# 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://docs.incari.com/incari-studio/objects-and-types/scene2d-objects/gui/textinput.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.
