# ENTITY::SET_ENTITY_VISIBLE

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

## Signature

```c
void SET_ENTITY_VISIBLE(Entity entity, BOOL toggle);
```

## Parameters

- `entity` (`Entity`)
- `toggle` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetEntityVisible(entity, toggle)

-- always available, by hash
Citizen.InvokeNative(0x1794B4FCC84D812F, entity, toggle)
```

### JavaScript

```js
SetEntityVisible(entity, toggle);

// by hash
Citizen.invokeNative('0x1794B4FCC84D812F', entity, toggle);
```

### C#

```csharp
Function.Call((Hash)0x1794B4FCC84D812F, entity, toggle);
```

## See also

- [ENTITY::IS_ENTITY_VISIBLE](https://natives.borderlinerp.com/natives/ENTITY/IS_ENTITY_VISIBLE.md)

*Sources: alloc8or RDR3 NativeDB.*
