> For the complete documentation index, see [llms.txt](https://gley.gitbook.io/mobile-pedestrian-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gley.gitbook.io/mobile-pedestrian-system/events/onpedestriantriggerexit.md).

# OnPedestrianTriggerExit

### Description

Triggered every time a pedestrian exists the front trigger.

### Delegate

```csharp
public delegate void PedestrianTriggerEnter(int pedestrianIndex, Pedestrian other);
```

### Parameters

<table><thead><tr><th width="215">Name</th><th>Description</th></tr></thead><tbody><tr><td><strong>pedestrianIndex</strong></td><td>The index of the pedestrian.</td></tr><tr><td>otherPedestrian</td><td>The pedestrian component of the other pedestrian.</td></tr></tbody></table>

### Example

Check **AvoidOtherPedestrians.cs** for a complete implementation example.
