# Bevy state stack
This crate allows you to use a state stack that is not confined to a single
stage.
## Bevy version
| bevy version | bevy_state_stack version |
| --- | --- |
| 0.8 | 0.1, 0.2 |
## Usage
You're better off importing the entire library.
```rust
use bevy_state_stack::*;
```
Add the state enum into the app.
```rust
app.add_state_stack(AppState::Menu)
```
Add different systems to the app.
```rust
app.add_system_on_enter(AppState::Menu, setup_menu)
.add_system_on_exit(AppState::Menu, despawn::