PickingInteraction

Pressed

Hovered

None

Description

A component that aggregates picking interaction state of this entity across all pointers.

Unlike bevy's Interaction component, this is an aggregate of the state of all pointers interacting with this entity. Aggregation is done by taking the interaction with the highest precedence.

For example, if we have an entity that is being hovered by one pointer, and pressed by another, the entity will be considered pressed. If that entity is instead being hovered by both pointers, it will be considered hovered.

Functions