# `ExMujoco.Types.State`
[🔗](https://github.com/d-led/ex.mujoco/blob/main/lib/ex_mujoco/types/state.ex#L2)

`mjtState`, from MuJoCo's headers, as numbers. All 20 values carry a number in the header.

# `t`

```elixir
@type t() :: integer()
```

# `act`

```elixir
@spec act() :: 8
```

mjSTATE_ACT is 8.

# `ctrl`

```elixir
@spec ctrl() :: 64
```

mjSTATE_CTRL is 64.

# `eq_active`

```elixir
@spec eq_active() :: 512
```

mjSTATE_EQ_ACTIVE is 512.

# `fullphysics`

```elixir
@spec fullphysics() :: 24607
```

mjSTATE_FULLPHYSICS is 24607.

# `history`

```elixir
@spec history() :: 16
```

mjSTATE_HISTORY is 16.

# `integration`

```elixir
@spec integration() :: 32767
```

mjSTATE_INTEGRATION is 32767.

# `mjnstate`

```elixir
@spec mjnstate() :: 15
```

mjNSTATE is 15.

# `mocap_pos`

```elixir
@spec mocap_pos() :: 1024
```

mjSTATE_MOCAP_POS is 1024.

# `mocap_quat`

```elixir
@spec mocap_quat() :: 2048
```

mjSTATE_MOCAP_QUAT is 2048.

# `physics`

```elixir
@spec physics() :: 16414
```

mjSTATE_PHYSICS is 16414.

# `plastic`

```elixir
@spec plastic() :: 16384
```

mjSTATE_PLASTIC is 16384.

# `plugin`

```elixir
@spec plugin() :: 8192
```

mjSTATE_PLUGIN is 8192.

# `qfrc_applied`

```elixir
@spec qfrc_applied() :: 128
```

mjSTATE_QFRC_APPLIED is 128.

# `qpos`

```elixir
@spec qpos() :: 2
```

mjSTATE_QPOS is 2.

# `qvel`

```elixir
@spec qvel() :: 4
```

mjSTATE_QVEL is 4.

# `time`

```elixir
@spec time() :: 1
```

mjSTATE_TIME is 1.

# `to_atom`

```elixir
@spec to_atom(integer() | atom()) :: atom() | nil
```

The name behind an integer. An atom is already one.

# `to_integer`

```elixir
@spec to_integer(t() | atom()) :: integer() | nil
```

The integer behind a name. An integer is already one.

# `user`

```elixir
@spec user() :: 8128
```

mjSTATE_USER is 8128.

# `userdata`

```elixir
@spec userdata() :: 4096
```

mjSTATE_USERDATA is 4096.

# `values`

```elixir
@spec values() :: [{atom(), integer()}]
```

Every value, as `{name, integer}`, in the order the header lists them.

# `warmstart`

```elixir
@spec warmstart() :: 32
```

mjSTATE_WARMSTART is 32.

# `xfrc_applied`

```elixir
@spec xfrc_applied() :: 256
```

mjSTATE_XFRC_APPLIED is 256.

---

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