pause menu WIP

This commit is contained in:
Fabio 2024-08-20 04:52:54 +02:00
parent 033718351e
commit 9d43b070af
7 changed files with 258 additions and 8 deletions

View file

@ -27,7 +27,7 @@ var cursor_scale_down = preload("res://textures/cursor_scale_down.png")
func _ready():
data_link = $data_link
func _unhandled_input(event):
func _unhandled_input(event: InputEvent) -> void:
if event.is_action_pressed("click"):
var nearest_block = find_nearest_block()
if nearest_block: