# Text

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

**Text** is one of the generative layer templates that create a small texture based on the text you write.

## Variables

### **Render**

Explained in [Stock Layer Templates](/layers-and-layouts/stock-layer-templates.md).

### **Text**

<div align="left"><figure><img src="/files/a30v9wLa3gzUupiTEAaE" alt=""><figcaption></figcaption></figure></div>

* **Text**: text you'd like to render
* **Font color**: color of the text
* **Background color**: color of the background
* **Font size**: size of the font. This determines the height of the texture.
* **Auto rename:** select if you want the layer's name to display the state of the variables.


---

# 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.lightact.com/layers-and-layouts/stock-layer-templates/generative-layer-templates/text.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.
