use bevy::prelude::*; /// Event triggered on a UI entity when the [`Interaction`] component on the same entity changes to /// [`Interaction::Pressed`]. Observe this event to detect e.g. button presses. #[derive(Event)] pub struct OnPress;