# CFX::PROFILER_IS_RECORDING

- **Hash:** `0xF8B7D7BB`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `ProfilerIsRecording`
- **Side:** shared (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/PROFILER_IS_RECORDING

## Signature

```c
BOOL PROFILER_IS_RECORDING();
```

## Returns

`BOOL` — True or false.

## Description

*Source: Cfx.re native reference*

Returns true if the profiler is active.

## Usage

### Lua

```lua
local retval = ProfilerIsRecording()

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

### JavaScript

```js
const retval = ProfilerIsRecording();

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

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xf8b7d7bb);
```

*Sources: Cfx.re native reference.*
