Crate bevy_interact_2d

source ·



Using groups it is easy to have systems only interact with draggables in a specific group. An example usecase would be separate groups for draggables and drop zones.
This component makes an entity interactable with the mouse cursor
The interaction plugin adds cursor interactions for entities with the Interactable component.
Attach an interaction source to cameras you want to interact from