Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Cody Sass |
I’m currently building a top down world, and I thought it would be a nice feature to drag and drop buildings from within a GUI onto a tilemap. However it appears that whenever my mouse is within a control, be it the general class, or any variant, It seems to block _on_Area2D_input_events. On the face of things it kinda makes sense, Your “GUI” should be in front of everything, chaos would reign if you were also interacting with a bunch of stuff you couldn’t even see behind the buttons you’re clicking. But I would’ve thought layers would take care of that, even when I fill a control container with nodes, I don’t seem to be able to interact with anything but control objects. This seems to completely throw out any possibility of… let’s say drag something out of an inventory and throw it on the floor.
Is there any way to make something like this work? Or should these two systems never mix?