# llGetCreator

*LSL function*

```lsl
key key llGetCreator();
```

- Returns: `key`
- Energy: 10

Returns the key (UUID) of the prim's original creator.

Returns a [key](https://wiki.secondlife.com/wiki/key) for the creator of the prim.

```lsl title="How to use" frame="terminal"
key result = llGetCreator();
```

## Examples

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

```lsl
default
{
    state_entry()
    {
        key owner = llGetOwner();
        key creatorThisPrim = llGetCreator();

        llSay(0, "The creator of this prim has the key '"+(string)creatorThisPrim + "'.");
        llSay(0, "My owner has the key '" + (string)owner + "'.");
    }
}
```

</details>

## See also

### Functions

- [llGetInventoryCreator](/functions/llGetInventoryCreator/)
- [llGetOwner](/functions/llGetOwner/)

---

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

---

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