# ENTITY::_IS_ENTITY_ON_TRAIN_TRACK

- **Hash:** `0x857ACB0AB4BD0D55`
- **Namespace:** ENTITY
- **Runtime name (Lua/JS):** `IsEntityOnTrainTrack`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/ENTITY/_IS_ENTITY_ON_TRAIN_TRACK

## Signature

```c
BOOL _IS_ENTITY_ON_TRAIN_TRACK(Entity entity);
```

## Parameters

- `entity` (`Entity`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = IsEntityOnTrainTrack(entity)

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

### JavaScript

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

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

### C#

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

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
