# KBar Support

![](/files/-LhUNP2k7JRJRi1mRaUh)

The script has built-in support for the popular K-Bar extension. Simply add the script as a jsx button and assign one of the following arguments:

`textbg` creates a TextBG layer for the selected layers.

`textbg masked` creates a TextBG layer for the selected layers, where the selected layers are masked by the new created background layers.

`textline` creates a TextLINE layer for the selected layers.


---

# 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.dezignphreak.com/textshapes/functions/k-bar-support.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.
