> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/lists/for-each-generic-item.md).

# For Each Generic Item

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-191c631089a74dc43dbf7808527d901d3b8520a7%2Ffor-each-generic-item.png?alt=media)

## Description

Execute connected functions for each item in Any List

## Node Type

Nodes fall into two basic categories: Data and Execution. This node Executes a function directly in the node string.

## Inputs

| Input    | Type | Required | Description                                                |
| -------- | ---- | -------- | ---------------------------------------------------------- |
| Any List | List | Yes      | Which list this node will loop through for it's functions. |

## Outputs

| Output            | Type      | Description                                                                       |
| ----------------- | --------- | --------------------------------------------------------------------------------- |
| On Completion     | Execution | Continues the node string after looping through the list and executing functions. |
| Execute Per Item  | Execution | Runs the attached node string for each item in the list.                          |
| Current Item      | item      | The item at the current index while looping through the list.                     |
| Current Iteration | Number    | The current index while looping through the list.                                 |

\
\
**Contributors**

AddiCt3d 2CHa0s
