# TASK::SET_PED_DESIRED_MOVE_BLEND_RATIO

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

## Signature

```c
void SET_PED_DESIRED_MOVE_BLEND_RATIO(Ped ped, float p1);
```

## Parameters

- `ped` (`Ped`)
- `p1` (`float`)

## Returns

`void`

## Usage

### Lua

```lua
SetPedDesiredMoveBlendRatio(ped, p1)

-- always available, by hash
Citizen.InvokeNative(0x1E982AC8716912C5, ped, p1)
```

### JavaScript

```js
SetPedDesiredMoveBlendRatio(ped, p1);

// by hash
Citizen.invokeNative('0x1E982AC8716912C5', ped, p1 + 0.0000001);
```

### C#

```csharp
Function.Call((Hash)0x1E982AC8716912C5, ped, p1);
```

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

## See also

- [TASK::GET_PED_DESIRED_MOVE_BLEND_RATIO](https://natives.borderlinerp.com/natives/TASK/GET_PED_DESIRED_MOVE_BLEND_RATIO.md)

*Sources: alloc8or RDR3 NativeDB.*
