bevyengine / bevyengine/bevy

Support double click recognition in `bevy_picking`.

Open
#16,456 8 comments 5 reactions 0 assignees View on GitHub
A-Picking C-Feature D-Modest S-Needs-Design
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## What problem does this solve or what need does it fill?

`bevy_picking` currently only able to recognize the type of clicks, but can't, for counts.

## What solution would you like?

Add a `DoubleClick` type.

## What alternative(s) have you considered?

Supporting `MultipleClick` would be better.

## Additional context

None

Contributor guide

Open the contributing guide

Research direction

Start by reading the click-recognition implementation in bevy_picking and trace how existing click types are represented and detected. Compare the requested DoubleClick behavior with the suggested generic MultipleClick alternative, then verify the chosen API recognizes double clicks without breaking existing click handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.