# CFX::GET_ENTITY_COLLISION_DISABLED

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

## Signature

```c
bool GET_ENTITY_COLLISION_DISABLED(Entity entity);
```

## Parameters

- `entity` (`Entity`) — The target entity.

## Returns

`bool` — Returns whether or not entity collisions are disabled.

## Usage

### Lua

```lua
local retval = GetEntityCollisionDisabled(entity)

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

### JavaScript

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

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

### C#

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

*Sources: Cfx.re native reference.*
