#Strange behavior when dragging.

8 messages · Page 1 of 1 (latest)

winter oracle
#

Need a lil help. I am attempting to detect a mouse click when clicked on Control A, and then you drag and release over control B. Control B does not detect GUI input until AFTER i release the mouse button. Image shows what I am dragging to and dragging from.

jaunty lodge
fading magnet
#

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

jaunty lodge
#

Yeah, that's probably better

winter oracle
winter oracle
winter oracle
#

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.