Wrote handler events for when the player enters or leaves a region