# INTERIOR::RETAIN_ENTITY_IN_INTERIOR

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

## Signature

```c
void RETAIN_ENTITY_IN_INTERIOR(Entity entity, Interior interior);
```

## Parameters

- `entity` (`Entity`)
- `interior` (`Interior`)

## Returns

`void`

## Usage

### Lua

```lua
RetainEntityInInterior(entity, interior)

-- always available, by hash
Citizen.InvokeNative(0x5BD616735F16BF5C, entity, interior)
```

### JavaScript

```js
RetainEntityInInterior(entity, interior);

// by hash
Citizen.invokeNative('0x5BD616735F16BF5C', entity, interior);
```

### C#

```csharp
Function.Call((Hash)0x5BD616735F16BF5C, entity, interior);
```

*Sources: alloc8or RDR3 NativeDB.*
