# INTERIOR::GET_INTERIOR_FROM_PRIMARY_VIEW

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

## Signature

```c
Interior GET_INTERIOR_FROM_PRIMARY_VIEW();
```

## Returns

`Interior`

## Usage

### Lua

```lua
local retval = GetInteriorFromPrimaryView()

-- always available, by hash
local retval = Citizen.InvokeNative(0xBC8A281FF125C655, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetInteriorFromPrimaryView();

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

### C#

```csharp
int retval = Function.Call<int>((Hash)0xBC8A281FF125C655);
```

*Sources: alloc8or RDR3 NativeDB.*
