# PED::_IS_PED_IN_NAVIGABLE_WATER

- **Hash:** `0xDC88D06719070C39`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `IsPedInNavigableWater`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **Other names:** `_IS_PED_AFLOAT`
- **URL:** https://natives.borderlinerp.com/natives/PED/_IS_PED_IN_NAVIGABLE_WATER

## Signature

```c
BOOL _IS_PED_IN_NAVIGABLE_WATER(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`BOOL`

## Description

Detects if ped is afloat in water like swimming or in a boat (driving or standing on it)

## Usage

### Lua

```lua
local retval = IsPedInNavigableWater(ped)

-- always available, by hash
local retval = Citizen.InvokeNative(0xDC88D06719070C39, ped, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = IsPedInNavigableWater(ped);

// by hash
const retval = Citizen.invokeNative('0xDC88D06719070C39', ped, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xDC88D06719070C39, ped);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
