docs/bevy/release-content/migration-guides/deprecate_button_and_interaction.md 449 B · 9 lines · raw · history

1 ---
2 title: "`ui::widgets::Button` and `ui::Interaction` are Deprecated"
3 pull_requests: [25197]
4 ---
5
6 `ui::widgets::Button`, available via the `ui::prelude`, has been deprecated in favor of `ui_widgets::Button`.
7 `ui::Interaction` has been deprecated in favor of the `picking::hover::Hovered` and `ui::Pressed` components.
8
9 View the updated `button.rs` example for updated `Button` usage patterns and how to use the `Hovered` and `Pressed` components.