# `Monty.Frameworks.Actions.SetYaw`
[🔗](https://github.com/d-led/ex.tbp.monty/blob/v0.1.0/packages/ex_tbp_monty_core/lib/monty/frameworks/actions/set_yaw.ex#L1)

Set the agent body's yaw, in degrees.

Mirrors `tbp/monty/frameworks/actions/actions.py::SetYaw`. Unlike
`...Actions.TurnLeft` and `...Actions.TurnRight` this names the heading rather
than the change, so it cannot drift: asking twice for the same heading leaves
the agent where it was.

# `t`

```elixir
@type t() :: %Monty.Frameworks.Actions.SetYaw{
  agent_id: atom() | String.t(),
  rotation_degrees: float()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
