# TASK::REACT_LOOK_AT

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

## Signature

```c
void REACT_LOOK_AT(Ped ped, Ped targetPed, int lookIntensity, int exitAnimation, float duration, int p5, Ped targetPed2, Any p7, Any p8);
```

## Parameters

- `ped` (`Ped`)
- `targetPed` (`Ped`)
- `lookIntensity` (`int`)
- `exitAnimation` (`int`)
- `duration` (`float`)
- `p5` (`int`)
- `targetPed2` (`Ped`)
- `p7` (`Any`)
- `p8` (`Any`)

## Returns

`void`

## Description

lookIntensity: see SET_PED_SHOULD_PLAY_FLEE_SCENARIO_EXIT

exitAnimation: LOOK_RETURN_GENERIC = 1,
LOOK_RETURN_DISMISSIVE = 2,
LOOK_RETURN_RELIEVED = 3

## Usage

### Lua

```lua
ReactLookAt(ped, targetPed, lookIntensity, exitAnimation, duration, p5, targetPed2, p7, p8)

-- always available, by hash
Citizen.InvokeNative(0xE7FA07624574B79A, ped, targetPed, lookIntensity, exitAnimation, duration, p5, targetPed2, p7, p8)
```

### JavaScript

```js
ReactLookAt(ped, targetPed, lookIntensity, exitAnimation, duration, p5, targetPed2, p7, p8);

// by hash
Citizen.invokeNative('0xE7FA07624574B79A', ped, targetPed, lookIntensity, exitAnimation, duration + 0.0000001, p5, targetPed2, p7, p8);
```

### C#

```csharp
Function.Call((Hash)0xE7FA07624574B79A, ped, targetPed, lookIntensity, exitAnimation, duration, p5, targetPed2, p7, p8);
```

- Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.

*Sources: alloc8or RDR3 NativeDB.*
