# sm.localPlayer.grantQuestItem

Unlocks a cosmetic with the given uuid for the player. Requires survival mode, non modified core files and no active mods to function.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.localPlayer.grantQuestItem( uid )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.localPlayer.md#grantquestitem)

**Visibility:** Hidden

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `uid` | [Uuid](../Game-Script-Environment/Userdata/Uuid.md) | The uuid of the unlocked cosmetic. |
