Available on crate feature
bevy_picking only.Expand description
Pointer-driven focus: focus or blur entities in response to mouse/pointer clicks.
This module is intentionally independent of any focus-navigation scheme (such as
tab_navigation or
directional_navigation). It only requests a focus change
by triggering a bubbling AcquireFocus event on the clicked entity;
how that request is resolved depends on which focus observers are installed.
Add PointerFocusPlugin to enable it. Requires the bevy_picking feature.
Structsยง
- Pointer
Focus Plugin - Plugin which focuses (or blurs) entities in response to pointer clicks.