Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | stubbsy345 | |
Old Version | Published before Godot 3 was released. |
I am trying to create a side menu that pops up when you hover over the side button (see images below). This was working fine using the “mouse_enter” and “mouse_exit” signals. However, now I have added buttons into the side menu, whenever the mouse hovers over a button it calls the “mouse_exit” signal and closes the menu screen. I tried adding code that when i entered the button with the mouse it would set a boolean value of hovering = true, and added this boolean into my panel “mouse_exit” code to say that only close menu if button hovering == false. However, this also doesn’t appear to work as it doesn’t register the mouse being in the button until I move to mouse, at which point it registers the “mouse_exit” signal on the panel first.