# arePathNodesLoaded (Client)

> Tells whether the path nodes of an area are loaded yet.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Roads and paths
- **URL**: https://wiki.mymp.gg/en/arePathNodesLoaded

## Syntax

```lua
bool arePathNodesLoaded([float minX, minY = nil, float maxX, maxY = nil])
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `minX, minY` | `float` | The area's lowest corner. With no arguments, it checks the area requested with `requestPathNodesInArea`. *(default: `nil`)* |
| `maxX, maxY` | `float` | The area's highest corner. *(default: `nil`)* |

## Returns

`true` if every path area covering the area is loaded.

## Example

```lua
if arePathNodesLoaded(1000, -2000, 2000, -1000) then
    outputDebugString("Los Santos east is loaded")
end
```

## See also

- [requestPathNodesInArea (Client)](https://wiki.mymp.gg/en/requestPathNodesInArea.md): Asks for the path nodes of an area to be loaded beyond those near the player. The area stays loaded until releasePathNodes.
- [releasePathNodes (Client)](https://wiki.mymp.gg/en/releasePathNodes.md): Drops the requestPathNodesInArea request. The areas far from the player can be unloaded again.
