Open foxzool opened 5 days ago
If add PickingBehavior::IGNORE
to Node , the trigger will fire.
But it's unsound, default node should not block picking。 Other Type such as Button、 Sprite should default block picking。
Makes sense
That might be intentional design. Maybe someone wants to detect clicks on the invisible node. @NthTensor can you weigh in?
I don't have options about the default behavior for node. We could add it as a required component, and maybe either ignore or non-blocking make sense.
Bevy version
The release number or commit hash of the version you're using.
0.15.0-rc.3 and lastest #e155fe1d
[Optional] Relevant system information
What you did
bevy 2d add a sprite and observe click event and add a fullscreen ui above it .
What went wrong
click sprite should trigger event
Additional information