> 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/logic/for-each-object.md).

# For Each Object

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

## Description

Execute connected functions for each object in the Objects 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          |
| ------- | ----------- | -------- | -------------------- |
| Objects | Object List | Yes      | Any list of objects. |

## Outputs

| Output             | Type     | Description                                                                                               |
| ------------------ | -------- | --------------------------------------------------------------------------------------------------------- |
| On Completion      | Event    | Continues node string after this node runs it's loop through the list.                                    |
| Execute Per Object | Function | Runs attached nodes for each object in the list.                                                          |
| Current Object     | Object   | Outputs current object in the list.                                                                       |
| Current Iteration  | Number   | Outputs the how many times the loop has run so far before completion. Will be object's index in the list. |

\
\
**Contributors**

AddiCt3d 2CHa0s
