# ENTITY::SET_ENTITY_COLLISION

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

## Signature

```c
void SET_ENTITY_COLLISION(Entity entity, BOOL toggle, BOOL keepPhysics);
```

## Parameters

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

## Returns

`void`

## Usage

### Lua

```lua
SetEntityCollision(entity, toggle, keepPhysics)

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

### JavaScript

```js
SetEntityCollision(entity, toggle, keepPhysics);

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
