# SHAPETEST::START_SHAPE_TEST_MOUSE_CURSOR_LOS_PROBE

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

## Signature

```c
ScrHandle START_SHAPE_TEST_MOUSE_CURSOR_LOS_PROBE(Vector3* pVec1, Vector3* pVec2, int flag, Entity entity, int flag2);
```

## Parameters

- `pVec1` (`Vector3*`)
- `pVec2` (`Vector3*`)
- `flag` (`int`)
- `entity` (`Entity`)
- `flag2` (`int`)

## Returns

`ScrHandle`

## Description

Old name: _START_SHAPE_TEST_SURROUNDING_COORDS

## Usage

### Lua

```lua
local retval, pVec1, pVec2 = StartShapeTestMouseCursorLosProbe(flag, entity, flag2)

-- always available, by hash
local retval, pVec1, pVec2 = Citizen.InvokeNative(0x9839013D8B6014F1, Citizen.PointerValueVector(), Citizen.PointerValueVector(), flag, entity, flag2, Citizen.ResultAsInteger())
```

### JavaScript

```js
const [retval, pVec1, pVec2] = StartShapeTestMouseCursorLosProbe(flag, entity, flag2);

// by hash
const [retval, pVec1, pVec2] = Citizen.invokeNative('0x9839013D8B6014F1', Citizen.pointerValueVector(), Citizen.pointerValueVector(), flag, entity, flag2, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
var pVec1 = new OutputArgument();
var pVec2 = new OutputArgument();
int retval = Function.Call<int>((Hash)0x9839013D8B6014F1, pVec1, pVec2, flag, entity, flag2);
// pVec1.GetResult<Vector3>()
// pVec2.GetResult<Vector3>()
```

- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.

*Sources: alloc8or RDR3 NativeDB.*
