extends Control func _input(event): if Input.is_action_just_pressed("toggle_controls"): visible = !visible