Crate bevy_interact_2d[][src]

Modules

drag

Structs

DebugInteractable
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

InteractionDebugPlugin

The interaction debug plugin is a drop-in replacement for the interaction plugin that will draw the bounding boxes for Interactable components.

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

Functions

cleanup_interaction_debug