I have a button node and have checked both Button Mask, Mouse Left and Mouse Right in the inspector. How do I tell within a on_pressed signal which button was pressed?
And no I can’t use gui_input or event_input methods as seen on this thread
I have a button node and have checked both Button Mask, Mouse Left and Mouse Right in the inspector. How do I tell within a on_pressed signal which button was pressed?
And no I can’t use gui_input or event_input methods as seen on this thread
In the meanwhile, I solved this just by using 2 buttons, one for each button press and having button below set mouse filter to pass.