# ENTITY::GET_ENTITY_ROLL

- **Hash:** `0xBF966536FA8B6879`
- **Namespace:** ENTITY
- **Runtime name (Lua/JS):** `GetEntityRoll`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/ENTITY/GET_ENTITY_ROLL

## Signature

```c
float GET_ENTITY_ROLL(Entity entity);
```

## Parameters

- `entity` (`Entity`)

## Returns

`float`

## Description

Displays the current ROLL axis of the entity [-180.0000/180.0000+]
(Sideways Roll) such as a vehicle tipped on its side

## Usage

### Lua

```lua
local retval = GetEntityRoll(entity)

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

### JavaScript

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

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
