func _input(event: InputEvent) -> void:
if event.is_action_pressed("left_click"):
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
func _input(event: InputEvent) -> void:
if event.is_action_pressed("left_click"):
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED