diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-11-14 12:16:04 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-11-14 12:16:04 +0200 |
| commit | bdfd9c7bca7e2003ea26aa2cee0c902a1a34622d (patch) | |
| tree | d421e6c92425abbcc5e857739722556243f1d053 | |
| parent | 3c306f183a2290b076ff0be01d4b1dc1428bffea (diff) | |
Focus menu button
| -rw-r--r-- | level_main_menu.gd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/level_main_menu.gd b/level_main_menu.gd index 2ee46bd..2420fc8 100644 --- a/level_main_menu.gd +++ b/level_main_menu.gd @@ -5,6 +5,7 @@ extends Node2D # Called when the node enters the scene tree for the first time. func _ready() -> void: + $TestLevelButton.grab_focus.call_deferred() $TestLevelButton.pressed.connect(_test_level_button_pressed) # Called every frame. 'delta' is the elapsed time since the previous frame. |
