We already explored the idea of using Flow Graph to spawn a player into the scene. We will now look at connecting two entities together to trigger a light to be turned on or off depending on whether the player is located within the bounds of an entity or not. For this we will be using a Proximity Trigger and then also we will be using a traditional light entity to be able to turn it on or off.
Follow the steps below to connect two entities together and trigger an event in the level:
In front of the Spawnpoint you added earlier, add a Proximity Trigger and a Light Entity from Create Object -> Legacy Entities by searching for them and dragging them into the scene.