1
2
3
4
5
6
7
8
use amethyst_core::specs::prelude::Entity;

/// This resource stores the currently focused UI element.
#[derive(Default)]
pub struct UiFocused {
    /// The entity containing the focused UI element.
    pub entity: Option<Entity>,
}