0 votes

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 onbuttonmouse_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?

in Engine by (20 points)

1 Answer

0 votes
Best answer

Yes, that's a known issue, discussed here:
https://github.com/godotengine/godot/issues/23296

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

by (1,696 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.