# getPedHeadShape (Shared)

> Tells how far a feature of a ped's face was adjusted.

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

## Syntax

```lua
float|false getPedHeadShape(ped ped, string|int feature)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `ped` | `ped` | The ped or player. |
| `feature` | `string\|int` | The name of a feature the head's `<Features>` declares, or its index in that list. |

## Returns

The scale, from -1 to 1 (0 if the feature was not adjusted), or `false` if it is not a ped. Raises an error if the feature does not exist.

## Example

```lua
local width = getPedHeadShape(localPlayer, "nose_width")
outputDebugString("nose width: " .. width)
```

## See also

- [setPedHeadShape (Shared)](https://wiki.mymp.gg/en/setPedHeadShape.md): Adjusts a feature of a ped's face, such as the nose or the chin.
