# llSetSitText

*LSL function*

```lsl
void llSetSitText(string text);
```

- `string text`: Context menu text to display.

- Energy: 10

Displays the string text instead of 'Sit' (or 'Sit Here') in the viewer's right-click context menu.

Displays **text** rather than the default "Sit Here" in the right-click menu.

```lsl title="How to use" frame="terminal"
llSetSitText("");
```

## Caveats

- **Text** will only be displayed if set by a script calling this function in the root. If **text** is set by a script in a child the **text** will only be displayed after unlinking it or relinking it as the root. If either a child or the root is selected as an individual prim and right clicked, the **text** displayed will be the default even if a script in the root has set **text**. More simply - The **text** property displayed on right click will always be that of the root unless, right clicking a prim under individual edit when it will always be the LL default.
- Note that like particles, and the other set text functions, all **text** set via `llSetSitText` becomes a property of a prim, not a script. For that reason, the **text** will remain if the script that set it is deactivated or even removed.
- You have no control over the face, size or colour of the displayed **text**.
- **Text** is limited to 9 characters.

## Examples

<details open>
<summary>Example 1</summary>

### Usage

```lsl
default
{
    state_entry()
    {
        llSetSitText("Be Seated");
    }
}
```

</details>

<details>
<summary>Example 2</summary>

### Removing Sit Text

There is no way to stop a pie menu from having a "Sit Here" space reserved on it. Although by setting the string to a space no text will be shown.

To remove custom text that you have placed there, set the text as an empty string like this: "".

```lsl
default
{
    state_entry()
    {
        llSetSitText("");
    }
}
```

</details>

Upon your having done so, the text that appears will revert to "Sit Here."

## Known issues

- [SVC-4870](https://jira.secondlife.com/browse/SVC-4870): [llSetSitText](/functions/llSetSitText/) does not apply for child prims, only the main prims sit text gets displayed

## See also

### Functions

- [llSitTarget](/functions/llSitTarget/)
- [llSetTouchText](/functions/llSetTouchText/)

---

*Source: [LlSetSitText](https://wiki.secondlife.com/wiki/LlSetSitText) on the Second Life Wiki. Content from the Second Life Wiki article LlSetSitText (revision 1194417, 2015-01-22), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/functions/llSetSitText/
