5 releases
Uses new Rust 2024
new 0.16.0-rc.5 | Apr 15, 2025 |
---|---|
0.16.0-rc.4 | Apr 11, 2025 |
0.16.0-rc.3 | Mar 31, 2025 |
0.16.0-rc.2 | Mar 26, 2025 |
0.16.0-rc.1 | Mar 18, 2025 |
#2785 in Game dev
4,822 downloads per month
6MB
102K
SLoC
A UI-centric focus system for Bevy.
This crate provides a system for managing input focus in Bevy applications, including:
InputFocus
, a resource for tracking which entity has input focus.- Methods for getting and setting input focus via
InputFocus
andIsFocusedHelper
. - A generic
FocusedInput
event for input events which bubble up from the focused entity. - Various navigation frameworks for moving input focus between entities based on user input, such as
tab_navigation
anddirectional_navigation
.
This crate does not provide any integration with UI widgets: this is the responsibility of the widget crate,
which should depend on bevy_input_focus
.
Bevy Input Focus
Dependencies
~11–22MB
~392K SLoC