# STREAMING::IS_ENTITY_FOCUS

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

## Signature

```c
BOOL IS_ENTITY_FOCUS(Entity entity);
```

## Parameters

- `entity` (`Entity`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = IsEntityFocus(entity)

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

### JavaScript

```js
const retval = IsEntityFocus(entity);

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
