fn toggle_status_screen(
    next_state: ResMut<'_, NextState<Overlay>>,
    state: Res<'_, State<Overlay>>,
    query: Query<'_, '_, &ActionState<PlayerAction>, With<Player>>
)
Expand description

System to handle opening the status screen or closing it