Our dig spots will work using triggers, which will let us run code specifically when a player enters an area. To do this, we need to change the type of collision that the entity is using.
- With the Dig Spot selected, open the Entity menu and find the Collision Volume section.
- In the Collider field, click the ⌄ drop down arrow to change VOXELOBJECT to BOX.
- In the Response Type field, click the ⌄ drop down arrow to change STATIC to TRIGGER.