# For Each Bot

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

## Description

Execute connected functions for each bot in the Objects list. Identical to For Each Object except it ignores non-bot objects in the 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. Non bots will be ignored. |

## Outputs

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

\
\
**Contributors**

AddiCt3d 2CHa0s
