Hello everyone, I have been struggling with a certain behaviour of Godot when using Area2D to detect clicks.
I have a background and a few actors on the top of it in my scene. What happens is the following: every time I play the project, whenever I click on an actor, I got a different behaviour on who handles the click (input event). Sometimes the actor consumes the input event (which is the behaviour I would expect), but sometimes the background does it. I do not change anything in the code two have these different behaviour. I have tried to place the actors as the first ones on the scene tree, but that does not seem to help. I have no idea on what is causing this randomness.
Has anyone experienced something similar? Any ideas of what can be happening?
Thanks, Matheus