An EntityRef is a great way to reference a specific entity in your game, but what do you do if you need to reference several entities as a category? For this, we use tags. We’ll give the Dig Spot a tag, so that later we can have as many of them as we want without having to keep track of how many there are, or which one is which.
- Select the Dig Spot and open the Entity panel.
- In the Entity section, find the Tags field.
- Type ‘digSpot’ and press the Enter key.