Syntax

key llGetKey();

Forced delay: 0.0 seconds. Energy: 10.0.

Return value

Returns a key of the prim the script is in.

Examples

default
{
    state_entry()
    {
        llOwnerSay(llGetKey());
        llOwnerSay(llGetLinkKey(llGetLinkNumber()));
    }
}

See also

Functions