# PLAYER::_EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK

- **Hash:** `0x1DA5C5B0923E1B85`
- **Namespace:** PLAYER
- **Runtime name (Lua/JS):** `EagleEyeCanPlayerFocusOnTrack`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PLAYER/_EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK

## Signature

```c
BOOL _EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK(Player player);
```

## Parameters

- `player` (`Player`)

## Returns

`BOOL`

## Description

Checks if the player can focus on tracks while in Eagle Eye mode. Returns true if the player is able to focus on a track, otherwise false.
Example usage:
if (PLAYER::_EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK(PLAYER::PLAYER_ID())) {
    // Perform actions when the player is focusing on a track in Eagle Eye mode
}
Video: https://imgur.com/gallery/0x1da5c5b0923e1b85-M8AyOsu

## Usage

### Lua

```lua
local retval = EagleEyeCanPlayerFocusOnTrack(player)

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

### JavaScript

```js
const retval = EagleEyeCanPlayerFocusOnTrack(player);

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

### C#

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

- 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.*
