Displays text rather than the default "Touch" in the right-click menu

Syntax

void llSetTouchText( string text );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

string text

This is very similar to LlSetSitText.
To restore the default value, use an empty string for text.
To make it appear as if there is no text, use some combination of whitespace characters for text.

Caveats

Examples

default
{
    state_entry()
    {
        llSetTouchText("Touch me!");
    }
    touch_start(integer detected)
    {
        llSay(0, "you touched me!");
    }
}

See also

Functions

Articles

Deep notes

Issues

Footnotes

  1. This function also accepts the UTF-8 character set, in which case the number of displayed characters may be even less than 9 ASCII characters