---
title: Fundamental Spaces
---

# Fundamental Spaces

## Box

```{eval-rst}
.. autoclass:: gymnasium.spaces.Box

.. automethod:: gymnasium.spaces.Box.sample
.. automethod:: gymnasium.spaces.Box.seed
.. automethod:: gymnasium.spaces.Box.is_bounded
```

## Discrete

```{eval-rst}
.. autoclass:: gymnasium.spaces.Discrete
.. automethod:: gymnasium.spaces.Discrete.sample
.. automethod:: gymnasium.spaces.Discrete.seed
```

## MultiBinary

```{eval-rst}
.. autoclass:: gymnasium.spaces.MultiBinary
.. automethod:: gymnasium.spaces.MultiBinary.sample
.. automethod:: gymnasium.spaces.MultiBinary.seed
```

## MultiDiscrete

```{eval-rst}
.. autoclass:: gymnasium.spaces.MultiDiscrete

.. automethod:: gymnasium.spaces.MultiDiscrete.sample
.. automethod:: gymnasium.spaces.MultiDiscrete.seed
```

## Text

```{eval-rst}
.. autoclass:: gymnasium.spaces.Text

.. automethod:: gymnasium.spaces.Text.sample
.. automethod:: gymnasium.spaces.Text.seed
```
