# ENTITY::GET_ENTITY_FORWARD_Y

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

## Signature

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

## Parameters

- `entity` (`Entity`)

## Returns

`float`

## Description

Gets the Y-component of the entity's forward vector.

## Usage

### Lua

```lua
local retval = GetEntityForwardY(entity)

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

### JavaScript

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

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
