Random beginner-question: exiting button while holding down

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

Hi everyone,

it appears that mouse_exited isn’t recognized when exiting a Button while holding the mousebutton (or finger on a touchscreen…) pressed. Is there any way to do this?

:bust_in_silhouette: Reply From: jgodfrey

Seems like it’s a known issue. See here:

There are some suggested work arounds in this thread:

https://forum.godotengine.org/10092/mouse-enter-events-triggering-until-other-input-completed

Thanks (again) Jgodfrey!

I couldn’t manage any such work around yet, tried combinations with Area2Ds (which recognize mouse-exits, only not if they overlap buttons!) and whatnot, so I’ll keep trying. It’s so weird that this happens, I only wonder why? This seems so essential.

pferft | 2020-11-18 15:40