control node mouse_exited signal firing outside of its boundaries

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JBlechel

I have an 800 by 600 control node and the mouse_exited signal is firing outside of its rect area, specifically when the mouse leaves the window another 224 units later. Are there any likely culprits out there? Oddly enough there is no problem with the mouse_entered signal

have you tried to add a color rect to visualize its actual boundaries?

LoneDespair | 2020-05-24 10:31

From that description alone it’s hard to reproduce your problem. Is the control node the root node of the scene? In that case I cannot reproduce your problem. Or is it the child of some other node? If so, which nodes? Containers might resize the node, even if you set a different size. How exactly are you measuring when the signal triggers? It probably would be the easiest, if you could provide an example project.

njamster | 2020-05-24 12:47