extends Node3D signal pause_button func _ready(): Input.mouse_mode = Input.MOUSE_MODE_CAPTURED func _input(event): if event.is_action_pressed("quit"): emit_signal("pause_button")