Using Godot 3.2.1, I created a button for my 2D game.
I want it to display a popup while pressed and hide it on release (or mouse-leave).
I connected the signals (via interface, not the connect()
method) and just made it print("down")
and print("up")
on botton_down and button_up respectively.
Both are printed as I press the button down ("up" comes before "down"), and none when I release.
Is this a known issue? Have I misunderstood how buttons are supposed to function?