# inworld_prim_take

Takes or copies in-world prim into bot's inventory.

```csharp
// See "LSL Helper Functions" page for this function
smartbotsAPI("inworld_prim_take", [
  "operation", "copy",
  "uuid", "35c6d327-de17-a630-c0ec-f2b04ff8cad9"
]);
```

```snippet http-api-variables-OmJyUigTgO
```

```snippet http-api-input-basic-parameters-5FcVlaJbq0 action="inworld_prim_take"
```

```snippet http-api-input-q5yvAagqsZ
operation | yes      | One of the following strings:<br>take - to take object from the world completely<br>copy - to take a copy of the object
uuid      | yes      | The UUID of the in-world object.
folder    | optional | UUID of the folder to put object to. "Objects" folder will be used if not specified.
```

```snippet http-api-output-JAwUcmg7i7
```

# Comments

Your bot has to have rights to grab the object specified (own it, or have permissions an owner's friend).


:::warning
There's no error message if bot lacks the necessary rights to get the object.

:::