- Edited
Is there a way to to detect if a button node is clicked while holding down the control or shift key? Thanks in advance!
Is there a way to to detect if a button node is clicked while holding down the control or shift key? Thanks in advance!
Yes. In the project settings, input map, when you add an action, there is the option to add the modifiers alt, ctrl, shift or meta (whatever the last one is). Also in combinations like shift-ctrl.
Check Input.is_physical_key_pressed() in the function that catches the button's pressed signal.
Pixophir or meta (whatever the last one is).
Often that button features a certain OS logo...
Oh, that ! I must have a scotoma there, actually two, looking down ... :-)