# ENTITY::GET_ENTITY_ALPHA

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

## Signature

```c
int GET_ENTITY_ALPHA(Entity entity);
```

## Parameters

- `entity` (`Entity`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = GetEntityAlpha(entity)

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

### JavaScript

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

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

### C#

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

## See also

- [ENTITY::SET_ENTITY_ALPHA](https://natives.borderlinerp.com/natives/ENTITY/SET_ENTITY_ALPHA.md) — skin - everything alpha except skin Set entity alpha level.
- [ENTITY::RESET_ENTITY_ALPHA](https://natives.borderlinerp.com/natives/ENTITY/RESET_ENTITY_ALPHA.md)

*Sources: alloc8or RDR3 NativeDB.*
