# onClientPedsProcessed (Client)

> Fired every frame after peds and objects have been animated, before they are presented and drawn.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Event
- **Side**: Client
- **Category**: Peds
- **URL**: https://wiki.mymp.gg/en/onClientPedsProcessed

## Syntax

```lua
addEventHandler("onClientPedsProcessed", root, function() ... end)
```

## Source

The root element (`root`).

It comes after `onClientPreRender`. It is the place to adjust bones over the frame's animation.

## Example

```lua
addEventHandler("onClientPedsProcessed", root, function()
    setElementBoneRotation(localPlayer, 5, 0, 0, 30)
end)
```

## See also

- [setElementBoneRotation (Client)](https://wiki.mymp.gg/en/setElementBoneRotation.md): Turns a ped's or object's bone relative to its parent bone. The change applies on this client only.
- [getElementBonePosition (Client)](https://wiki.mymp.gg/en/getElementBonePosition.md): Returns the world position of a ped's or object's bone.
- [onClientPedStep (Client)](https://wiki.mymp.gg/en/onClientPedStep.md): Fired on each step of a ped or player, when the foot touches the ground.
