> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# LoopResult - ComfyUI Built-in Node Documentation

> LoopResult is a developer-only output node that marks the closing point of a loop block.

LoopResult is a developer-only output node that marks the closing point of a loop block. It collects the values that are passed into it in order (named `output0`, `output1`, and so on) and releases the external execution block identified by a close ID. Because input fingerprinting always returns NaN, the node is treated as always changed and is re-executed every run.

## Inputs

| Parameter                 | Description                                                                                                                                                                  | Data Type | Required | Range |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | ----- |
| `close_id`                | Identifier of the loop block to close; only the first value of the list is used                                                                                              | STRING    | Yes      | -     |
| `output0`, `output1`, ... | Values collected from the loop block. The node accepts any additional inputs and gathers them in sequential order starting at `output0`, stopping at the first missing index | Any type  | No       | -     |

Note: This node accepts all inputs (`accept_all_inputs`). Any input beyond `close_id` is treated as a collected loop value and must be named `output0`, `output1`, `output2`, etc., without gaps, for it to be included in the result.

## Outputs

This node does not return any outputs. It only releases the external execution block associated with `close_id`.

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/LoopResult/en.md)

***

**Source fingerprint (SHA-256):** `637f8a39b0e99e8d4453cfc482463bd14d909b710264021ac2c27fdcd68b6063`
