---
title: Fundamental Spaces
---

# Fundamental Spaces

## Box

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

    .. automethod:: is_bounded
    .. automethod:: sample
``` 

## Discrete

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

## MultiBinary

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

    .. automethod:: sample
``` 

## MultiDiscrete

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

    .. automethod:: sample
``` 

## Text

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

    .. automethod:: sample
``` 