Often the simplest inventory situation is to display text to tell players whether they are carrying a single item (or not). We'll add the ability to detect collisions with GameObject tagged Star to the SpaceGirl mini-game, and display an on-screen message stating whether a star has been collected or not:
![](https://static.packt-cdn.com/products/9781788471909/graphics/assets/47cd6ba6-5511-4d54-bcc3-8b980049f26c.png)
At the end of the recipe, in the There's more... section, we'll learn to adapt this recipe to maintain an Integer total of how many stars have been collected, for a version of the game with lots of stars to collect.