Crate bevy_interact_2d

Source

Modules§

drag

Structs§

Group
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.
Interactable
This component makes an entity interactable with the mouse cursor
InteractionPlugin
The interaction plugin adds cursor interactions for entities with the Interactable component.
InteractionSource
Attach an interaction source to cameras you want to interact from
InteractionState