# PLAYER::IS_PLAYER_FREE_AIMING_AT_ENTITY

- **Hash:** `0x8C67C11C68713D25`
- **Namespace:** PLAYER
- **Runtime name (Lua/JS):** `IsPlayerFreeAimingAtEntity`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PLAYER/IS_PLAYER_FREE_AIMING_AT_ENTITY

## Signature

```c
BOOL IS_PLAYER_FREE_AIMING_AT_ENTITY(Player player, Entity entity);
```

## Parameters

- `player` (`Player`)
- `entity` (`Entity`)

## Returns

`BOOL`

## Description

Gets a value indicating whether the specified player is currently aiming freely at the specified entity.

## Usage

### Lua

```lua
local retval = IsPlayerFreeAimingAtEntity(player, entity)

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

### JavaScript

```js
const retval = IsPlayerFreeAimingAtEntity(player, entity);

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
