diff --git a/crates/bevy_input/src/input.rs b/crates/bevy_input/src/input.rs index 09aeea7b88..b98e2b25e8 100644 --- a/crates/bevy_input/src/input.rs +++ b/crates/bevy_input/src/input.rs @@ -28,7 +28,7 @@ use bevy_ecs::schedule::State; /// * Call the [`Input::press`] method for each press event. /// * Call the [`Input::release`] method for each release event. /// * Call the [`Input::clear`] method at each frame start, before processing events. -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct Input { pressed: HashSet, just_pressed: HashSet,