> For the complete documentation index, see [llms.txt](https://docs.moddingofisaac.com/ab_p/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.moddingofisaac.com/ab_p/beta/docs/pathfinder.md).

# Class "PathFinder"

## Functions

### EvadeTarget () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/pathfinder.md){: .abp .tooltip .badge }

#### void EvadeTarget ( [Vector](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/Vector/README.md) TargetPos ) {: .copyable aria-label='Functions' }

### FindGridPath () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/pathfinder.md){: .abp .tooltip .badge }

#### void FindGridPath ( [Vector](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/Vector/README.md) Pos, float Speed, int PathMarker, boolean UseDirectPath ) {: .copyable aria-label='Functions' }

### GetEvadeMovementCountdown () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/pathfinder.md){: .abp .tooltip .badge }

#### int GetEvadeMovementCountdown ( ) {: .copyable aria-label='Functions' }

### GetGridIndex () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/pathfinder.md){: .abp .tooltip .badge }

#### int GetGridIndex ( ) {: .copyable aria-label='Functions' }

### HasDirectPath () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/pathfinder.md){: .abp .tooltip .badge }

#### boolean HasDirectPath ( ) {: .copyable aria-label='Functions' }

### HasPathToPos () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/pathfinder.md){: .abp .tooltip .badge }

#### boolean HasPathToPos ( [Vector](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/Vector/README.md) Pos, boolean IgnorePoop ) {: .copyable aria-label='Functions' }

Used for safe check if any NPC is behind rocks/pits, doesn't disturb class members.

### MoveRandomly () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/pathfinder.md){: .abp .tooltip .badge }

#### boolean MoveRandomly ( boolean IgnoreStatusEffects ) {: .copyable aria-label='Functions' }

### MoveRandomlyAxisAligned () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/pathfinder.md){: .abp .tooltip .badge }

#### void MoveRandomlyAxisAligned ( float Speed, boolean IgnoreStatusEffects ) {: .copyable aria-label='Functions' }

### MoveRandomlyBoss () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/pathfinder.md){: .abp .tooltip .badge }

#### void MoveRandomlyBoss ( boolean IgnoreStatusEffects ) {: .copyable aria-label='Functions' }

### Reset () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/pathfinder.md){: .abp .tooltip .badge }

#### void Reset ( ) {: .copyable aria-label='Functions' }

### ResetMovementTarget () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/pathfinder.md){: .abp .tooltip .badge }

#### void ResetMovementTarget ( ) {: .copyable aria-label='Functions' }

### SetCanCrushRocks () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/pathfinder.md){: .abp .tooltip .badge }

#### void SetCanCrushRocks ( boolean value ) {: .copyable aria-label='Functions' }

### UpdateGridIndex () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/pathfinder.md){: .abp .tooltip .badge }

#### void UpdateGridIndex ( ) {: .copyable aria-label='Functions' }
