> 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/complete-api/iscurrentwaypointastopwaypoint.md).

# IsCurrentWaypointAStopWaypoint

### Description

Check if the current waypoint of the pedestrian has the stop property set to true.

### Declaration

```csharp
public static bool IsPedestrianAtThisWaypoint(int pedestrianIndex, int waypointIndex)
```

### Parameters

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

### Returns

**bool -** true - if the pedestrian is currently at a stop waypoint.

### Example

Check **AvoidOtherPedestrians.cs**
