# CFX::IS_ENTITY_VISIBLE

- **Hash:** `0x120B4ED5`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `IsEntityVisible`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/IS_ENTITY_VISIBLE

## Signature

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

## Parameters

- `entity` (`Entity`)

## Returns

`BOOL` — Returns `true` if the entity is visible, `false` otherwise.

## Description

*Source: Cfx.re native reference*

This native checks if the given entity is visible.

## Usage

### Lua

```lua
local retval = IsEntityVisible(entity)

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

### JavaScript

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

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

### C#

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

*Sources: Cfx.re native reference.*
