# ENTITY::IS_ENTITY_VISIBLE_TO_SCRIPT

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

## Signature

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

## Parameters

- `entity` (`Entity`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = IsEntityVisibleToScript(entity)

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

### JavaScript

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

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
