# PROPSET::_MOVE_PROPSET_COORDS_AND_HEADING

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

## Signature

```c
void _MOVE_PROPSET_COORDS_AND_HEADING(PropSet propSet, float x, float y, float z, BOOL onGroundProperly, float heading);
```

## Parameters

- `propSet` (`PropSet`)
- `x` (`float`)
- `y` (`float`)
- `z` (`float`)
- `onGroundProperly` (`BOOL`)
- `heading` (`float`)

## Returns

`void`

## Description

*Source: alloc8or RDR3 NativeDB*

Relocates an existing prop set to specified coordinates and adjusts its heading (rotation) without affecting the prop set's internal layout or structure.
When `onGroundProperly` is true, the prop set automatically aligns accurately with the terrain.

*Source: VORPCORE RDR3natives*

Relocates an existing prop set to specified coordinates and adjusts its heading (rotation) without affecting the prop set's internal layout or structure. The `propSet` parameter identifies the prop set to move. The parameters (`coordsX`, `coordsY`, `coordsZ`) set the new central position of the prop set, while `heading` specifies its rotation around the Z-axis (in degrees). When `onGroundProperly` is true, the prop set automatically aligns accurately with the terrain

## Usage

### Lua

```lua
MovePropsetCoordsAndHeading(propSet, x, y, z, onGroundProperly, heading)

-- always available, by hash
Citizen.InvokeNative(0xC4B67EF3FD65622D, propSet, x, y, z, onGroundProperly, heading)
```

### JavaScript

```js
MovePropsetCoordsAndHeading(propSet, x, y, z, onGroundProperly, heading);

// by hash
Citizen.invokeNative('0xC4B67EF3FD65622D', propSet, x + 0.0000001, y + 0.0000001, z + 0.0000001, onGroundProperly, heading + 0.0000001);
```

### C#

```csharp
Function.Call((Hash)0xC4B67EF3FD65622D, propSet, x, y, z, onGroundProperly, heading);
```

- 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.
- 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, VORPCORE RDR3natives.*
