extends ColorRect # Called when the node enters the scene tree for the first time. func _ready(): pass # Replace with function body. func _on_resume_pressed(): visible = !visible Universal.ui_lock = false Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)