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

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

# `t`

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

# `button`

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

mjITEM_BUTTON is 2.

# `checkbyte`

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

mjITEM_CHECKBYTE is 4.

# `checkint`

```elixir
@spec checkint() :: 3
```

mjITEM_CHECKINT is 3.

# `editfloat`

```elixir
@spec editfloat() :: 12
```

mjITEM_EDITFLOAT is 12.

# `editint`

```elixir
@spec editint() :: 10
```

mjITEM_EDITINT is 10.

# `editnum`

```elixir
@spec editnum() :: 11
```

mjITEM_EDITNUM is 11.

# `edittxt`

```elixir
@spec edittxt() :: 13
```

mjITEM_EDITTXT is 13.

# `end_`

```elixir
@spec end_() :: -2
```

mjITEM_END is -2.

# `mjnitem`

```elixir
@spec mjnitem() :: 14
```

mjNITEM is 14.

# `radio`

```elixir
@spec radio() :: 5
```

mjITEM_RADIO is 5.

# `radioline`

```elixir
@spec radioline() :: 6
```

mjITEM_RADIOLINE is 6.

# `section`

```elixir
@spec section() :: -1
```

mjITEM_SECTION is -1.

# `select`

```elixir
@spec select() :: 7
```

mjITEM_SELECT is 7.

# `separator`

```elixir
@spec separator() :: 0
```

mjITEM_SEPARATOR is 0.

# `sliderint`

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

mjITEM_SLIDERINT is 8.

# `slidernum`

```elixir
@spec slidernum() :: 9
```

mjITEM_SLIDERNUM is 9.

# `static`

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

mjITEM_STATIC 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.

# `values`

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

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

---

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