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

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

# `t`

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

# `filesdrop`

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

mjEVENT_FILESDROP is 8.

# `key`

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

mjEVENT_KEY is 5.

# `move`

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

mjEVENT_MOVE is 1.

# `none`

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

mjEVENT_NONE is 0.

# `press`

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

mjEVENT_PRESS is 2.

# `redraw`

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

mjEVENT_REDRAW is 7.

# `release`

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

mjEVENT_RELEASE is 3.

# `resize`

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

mjEVENT_RESIZE is 6.

# `scroll`

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

mjEVENT_SCROLL is 4.

# `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*
