# CAMERA::GET_CAM_COORD

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

## Signature

```c
Vector3 GET_CAM_COORD(Cam cam);
```

## Parameters

- `cam` (`Cam`)

## Returns

`Vector3`

## Usage

### Lua

```lua
local retval = GetCamCoord(cam)

-- always available, by hash
local retval = Citizen.InvokeNative(0x6B12F11C2A9F0344, cam, Citizen.ResultAsVector())
```

### JavaScript

```js
const retval = GetCamCoord(cam);

// by hash
const retval = Citizen.invokeNative('0x6B12F11C2A9F0344', cam, Citizen.returnResultAnyway(), Citizen.resultAsVector());
```

### C#

```csharp
Vector3 retval = Function.Call<Vector3>((Hash)0x6B12F11C2A9F0344, cam);
```

## See also

- [CAMERA::SET_CAM_COORD](https://natives.borderlinerp.com/natives/CAMERA/SET_CAM_COORD.md) — Sets the position of the cam.

*Sources: alloc8or RDR3 NativeDB.*
