|Topic was automatically imported from the old Question2Answer platform.
I’m having trouble with my “Mouse enters area” event never ever triggering.
I SUSPECT it is because some other object is consuming the event- is it possible to tell that object not to.
DON'T consume event. Let other functions list for it.
I’ve tried to get various objects to use “input”, “unhandled_input” etc, but most changes just end up breaking some OTHER part of the program.
Fundamentally, I feel like I need the ability to decide inside a function if that function has handled an event or not…
Do you know which node is consuming that event?
You can choose if a control cares or not about the mouse by changing its
mouse mode to
Zylann | 2019-08-30 12:44
I’m not entirely sure which control node it is…
but the issue is that all these controls SHOULD be listening to the mouse.
I Need them to notice the mouse, because they are doing important work! I just don’t like the fact now I’ve got a game where no area2d seems capable of detecting mouse enter/exit events.
nineGradens | 2019-08-30 17:29
Annnndddd… solved. (Mainly due to own tinkering, although comment was useful)
Okay, the event system makes perfect sense, I was just misunderstanding it.
nineGradens | 2019-08-30 18:24
@nineGardens can you post your solution?
Eric Ellingson | 2019-08-30 21:30
It would help us if you posted how you solved the problem.
Ertain | 2019-08-31 03:36