> 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/onobjecttriggerexit.md).

# OnObjectTriggerExit

### Description

Trigger every time an object exists the front trigger.

### Delegate

```csharp
public delegate void ObjectTriggerExit(int pedestrianIndex);
```

### 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></tbody></table>

### Example

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