#Strange behavior when dragging.
8 messages · Page 1 of 1 (latest)
Control nodes eat any input events they receive, denying them to anyone else. I think you can fix this by setting ControlA - Control -> Mouse -> Filter -> Pass
That may be the issue but I feel like changing that setting may cause other unintended issues.
I think what you should probably do is have a small area2D that follows your mouse cursor and also have an area2D on your little green doods. Then you can figure out when your mouse is hovering over something and handle it appropriately when you release your mouse
Yeah, that's probably better
This worked, thank you very much! There wont be anything behind the dice in the future, so it shouldn't cause issues.
Thats a good idea, Ill implement this if i either run into issues with setting it to pass or need to do something like this again where setting it to pass messes it up.
Well, it ended up not working. I sent this message then it stopped. Now, I am checking that the cursor is in a rect2 when it is released, where the rect2 is the enemy.