# CFX::IS_PED_USING_ACTION_MODE

- **Hash:** `0x5AE7EDA2`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `IsPedUsingActionMode`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/IS_PED_USING_ACTION_MODE

## Signature

```c
bool IS_PED_USING_ACTION_MODE(Ped ped);
```

## Parameters

- `ped` (`Ped`) — The target ped.

## Returns

`bool` — Whether or not the ped is using action mode.

## Usage

### Lua

```lua
local retval = IsPedUsingActionMode(ped)

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

### JavaScript

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

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

### C#

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

*Sources: Cfx.re native reference.*
