![]() ## Problem This pseudocode was triggering constantly, even with the Changed<> query filter. ```rust pub fn check_mouse_movement_system( relative_cursor_positions: Query< &RelativeCursorPosition, (Changed<RelativeCursorPosition>, With<Button>)>, ) {} ``` ## Solution - Added a check to prevent updating the value if it hasn't changed. --------- Co-authored-by: Giacomo Stevanato <giaco.stevanato@gmail.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |