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

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

# `t`

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

# `bottom`

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

mjGRID_BOTTOM is 5.

# `bottomleft`

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

mjGRID_BOTTOMLEFT is 2.

# `bottomright`

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

mjGRID_BOTTOMRIGHT is 3.

# `left`

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

mjGRID_LEFT is 6.

# `right`

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

mjGRID_RIGHT is 7.

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

# `top`

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

mjGRID_TOP is 4.

# `topleft`

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

mjGRID_TOPLEFT is 0.

# `topright`

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

mjGRID_TOPRIGHT is 1.

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