# PED::IS_PED_SWIMMING

- **Hash:** `0x9DE327631295B4C2`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `IsPedSwimming`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/IS_PED_SWIMMING

## Signature

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

## Parameters

- `ped` (`Ped`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = IsPedSwimming(ped)

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

### JavaScript

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

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
