This commit is contained in:
Your Name
2025-07-19 22:51:58 +04:00
parent cc8e7c0d2f
commit 688106eedd
4 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
extends Control
signal any_key_pressed
func _ready():
print("PressAnyKeyScreen ready")
func _input(event):
if event.is_action_pressed("any_key") or event is InputEventScreenTouch:
print("Any key pressed: ", event)
any_key_pressed.emit()
get_viewport().set_input_as_handled()