# getPedHeadBlend (Shared)

> Tells how a ped's face blends its two parents.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Shared
- **Category**: Appearance
- **URL**: https://wiki.mymp.gg/en/getPedHeadBlend

## Syntax

```lua
int, int, int, int, float, float|false getPedHeadBlend(ped ped)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `ped` | `ped` | The ped or player. |

## Returns

Six values: `father`, `mother`, `skinFather`, `skinMother`, `shapeMix` and `skinMix`, as `setPedHeadBlend` takes them. `false` if it is not a ped.

## Example

```lua
local father, mother, skinFather, skinMother, shapeMix, skinMix = getPedHeadBlend(localPlayer)
outputDebugString("shape mix: " .. shapeMix)
```

### Coming from MTA

MTA does not have this function. It follows FiveM's `GetPedHeadBlendData`.

## See also

- [setPedHeadBlend (Shared)](https://wiki.mymp.gg/en/setPedHeadBlend.md): Builds a ped's face by blending the head and skin of two parents.
