bevyengine / bevyengine/bevy

no click detection

Open
#8,524 1 comment 0 reactions 0 assignees View on GitHub
A-Input A-Picking A-UI C-Usability
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

There is only Clicked in this enum (focus.rs)
```
pub enum Interaction {
/// The node has been clicked
Clicked,
/// The node has been hovered over
Hovered,
/// Nothing has happened
None,
}
```
Any query with that is called in every frame. I want an event that is only called exactly once in the first frame when the btton is clicked firstly. Otherwise I have to add bookkeeping about the mouse state

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.