# Work with Rental Assets In-Game

{% hint style="info" %}
To learn about rental assets in general, please see our [introduction to rental assets](https://docs.lootlocker.com/content/working-with-assets/how-to/rental-assets)
{% endhint %}

### Specifying Rental Tier

As you can create multiple tiers of a Rental Asset, it is important to set up the correct tier for your purpose. In this scenario, we have a Rental Asset that will increase the Strength of a player for a limited time and we choose to give it to them through a [Trigger](https://docs.lootlocker.com/game-systems/set-up-triggers).

<figure><img src="https://534367586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVu1MPzezO-NgvC98xh%2Fuploads%2Fgit-blob-9171ccac880b2b697daab91bf13acfc16bbfeaca%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Here we have two tiers, Small boost and Big boost, with different durations.

In our Trigger, we choose to Add Reward and find the Rental Asset that we named Extra Strength, below that, the different tiers will show up. Select the one you want to give and it will give that Rental Asset once the Trigger is triggered.

<figure><img src="https://534367586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVu1MPzezO-NgvC98xh%2Fuploads%2Fgit-blob-b4d02684398d7a2356fbe7a2fa2f5f578f384b57%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

After the player has retrieved the Rental Asset, to use the boost, we must activate the Rental Asset, as shown below.

### Activate Rental Asset

To activate a Rental Asset that a player possesses you can call this method:

{% tabs %}
{% tab title="Unity" %}

```csharp
private int assetInstanceID = 86;

LootLockerSDKManager.ActivateRentalAsset(assetInstanceID, (response) =>
{
    if (response.success)
    {
        Debug.Log("Successfully activated rental asset");
    }
    else
    {
        Debug.Log("Error activating rental asset");
    }
});
```

{% endtab %}

{% tab title="Unreal" %}

<figure><img src="https://534367586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVu1MPzezO-NgvC98xh%2Fuploads%2Fgit-blob-3620f738c1e12fbd17d1fe2b5b57d4acd98d108a%2Fimage.png?alt=media" alt=""><figcaption><p><a href="https://blueprintue.com/blueprint/4gcpdqty/">Blueprint example of activating a rental asset</a></p></figcaption></figure>
{% endtab %}
{% endtabs %}
