I am implementing an inventory system, and I have different control nodes that use gui input signal to a parent node script to handle those inputs. I noticed that when you press the mouse on the child nodes, the gui input signal continues to be fired from the same control you originally clicked on up until you release the button. I would have thought the input would propagate across the nodes, but printing out every input event when gui_input is fired, the same control node fires the signal until you let go of the button.
I am trying to implement a drag-n-drop style inventory, and when I click on an item, I can latch it to the mouse, but the same control will continue firing input signals until I release the mouse button, so I can't release my item over a different control node to re-assign the item's location.
I would have thought that each action's pressed / released mode would be handled independently, so how do I go about fixing this?