# Collectibles

Just like entity components, we can add special components to players and the game as well. To track points a player can earn, we need to assign a **Player Component**. Head to Linking again, and you will see three new icons appear. These are components for Players, the Game overall, and the Environment.&#x20;

Select the ‘**Player Components**’ tab, press **+** to reveal more options on the right-hand side components menu, and select ‘**Score**.’

![](https://3166848498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzaqFJFbPM2opQ4D43YaF%2Fuploads%2FGueDbt04r86KJAkanK6L%2Fezgif.com-gif-maker%20\(46\).gif?alt=media\&token=0d3dfcae-61fa-4d78-bcdd-c25591bc1c31)

Place any entity and add the **‘Interact’** component to it. You can also change the text that appears when the player hovers over the item in-game, so for collectibles it’s best just to put ‘Collect.’

Now create a link from the collectible; select ‘**Interacted**’ and link to the players icon. Complete the link with ‘**Gain Score**,’ filtering so only the player that interacted gets points.

![](https://3166848498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzaqFJFbPM2opQ4D43YaF%2Fuploads%2F2NFOhB4FZIynt1935Vz9%2Fezgif.com-gif-maker%20\(47\).gif?alt=media\&token=9a4738a5-9198-4ce8-b356-3b0572cd0cb8)

![](https://3166848498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzaqFJFbPM2opQ4D43YaF%2Fuploads%2FSKy14329R8fw3trHgt3P%2Fezgif.com-gif-maker%20\(48\).gif?alt=media\&token=8d7ab188-e6c3-47fb-a488-5484d5488aab)

{% hint style="info" %}
***Tip:*** By default, points go up by 100 whenever you collect something, so make sure your final score is large enough to accommodate this!
{% endhint %}

![](https://3166848498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzaqFJFbPM2opQ4D43YaF%2Fuploads%2FbPIbtVApLr0orOduOPOI%2Fezgif.com-gif-maker%20\(49\).gif?alt=media\&token=794d4f91-1812-4ab4-9fdd-bbea0911d008)

To finish it out, select ‘**Yes**’ for ‘**Win by reaching**.’ Now it’s a race to see who can collect the most first!
