# HUD::IS_RADAR_PREFERENCE_SWITCHED_ON

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

## Signature

```c
BOOL IS_RADAR_PREFERENCE_SWITCHED_ON();
```

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = IsRadarPreferenceSwitchedOn()

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

### JavaScript

```js
const retval = IsRadarPreferenceSwitchedOn();

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
