> For the complete documentation index, see [llms.txt](https://docs.dezignphreak.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dezignphreak.com/textshapes/functions/textbg.md).

# TextBG

After you created the Text Background you can change the main settings via the "textbg" effect on that layer.&#x20;

#### Shape layer

Since this layer is technically a shape layer, you can add effects or animations like rounded corners via the shape layer menu :arrow\_forward: .

#### Mask with Alt-Click

By holding down the ALT key on your keyboard while pressing the TextBG button you automatically mask your selected layer to the new background box layer (which is quite helpful if you want to animate the box' scale).

## Options

#### Padding

Defines the outer space between the source layer and the background box.

#### Scaling

You can scale the width and the height of the background box independently.

#### Scaling Anchor

By default the box scales around the middle point. To relocate this scaling anchor point simply change the x and y slider.

You can also easely reposition the background box by adapting these settings.

#### Time Anchor

{% hint style="info" %}
The size of the TextBG is determined by the parent layers bounding box. If you animate the text, the bounding box changes dynamicly.
{% endhint %}

To fix the size to a certain point in time of the parent layer, simply disable the Live checkbox and modify the Static slider to your needs (0% = parents inPoint. 100% = parents outPoint).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.dezignphreak.com/textshapes/functions/textbg.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
