We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71b7b2c commit 735ead8Copy full SHA for 735ead8
doc/classes/Shortcut.xml
@@ -16,7 +16,7 @@
16
key_event.command_or_control_autoremap = true # Swaps ctrl for Command on Mac.
17
save_shortcut.set_events([key_event])
18
19
- func _input(event:InputEvent) -> void:
+ func _input(event) -> void:
20
if save_shortcut.matches_event(event) and event.is_pressed() and not event.is_echo():
21
print("Save shortcut pressed!")
22
[/codeblock]
0 commit comments