on_button_mouse_entered() not working when LMB is held down

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

I’m currently making a on screen keyboard. One of the feature is that when you hold down one of the buttons, new buttons appear around it. By hovering and letting go you can select the new buttons that have appeared.

I setup up a few buttons that are around the main button initially. Then when the button is pressed, the new buttons are set to show. I have connected the signal on_button_mouse_entered to the main scene, but it is not triggering.

After doing some debugging I have found that the mouse_entered() function does not trigger if the LMB is held down. Is there any way to circumvent this issue?

:bust_in_silhouette: Reply From: Thomas Karcher

Yes, that’s a known issue, discussed here:

User avencherus offered two possible workarounds for a very similar question back in 2016:
https://forum.godotengine.org/10092/enter-events-triggering-until-other-input-event-completed