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.
Pixophir Sorry, I wasn't clear enough. I mean button node + control / shift click?
Pixophir or meta (whatever the last one is).
Often that button features a certain OS logo...
Check Input.is_physical_key_pressed() in the function that catches the button's pressed signal.
duane Decided to go with is_action_pressed(). Either way your reply steered me towards using the Input class which is the winner. Thank you!
Megalomaniak
Oh, that ! I must have a scotoma there, actually two, looking down ... :-)